IDEMPIERE-4528 Update Js Library (#461)

* IDEMPIERE-4528 Update Js Library

Fix session timeout page broken.

* IDEMPIERE-4528 Update Js Library

add version info for keylistener component
This commit is contained in:
hengsin 2020-12-12 19:18:36 +08:00 committed by GitHub
parent a7fbe30441
commit bffb3166c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 22 additions and 11 deletions

View File

@ -151,8 +151,8 @@ Export-Package: fi.jawsy.jawwa.zk.atmosphere,
web.js.ckez.ext.CKeditor.plugins.wsc.dialogs, web.js.ckez.ext.CKeditor.plugins.wsc.dialogs,
web.js.ckez.ext.CKeditor.plugins.wsc.skins, web.js.ckez.ext.CKeditor.plugins.wsc.skins,
web.js.ckez.ext.CKeditor.skins, web.js.ckez.ext.CKeditor.skins,
web.js.zkforge, web.js.zkforge.keylistener,
web.js.zkforge.mold web.js.zkforge.keylistener.mold
Require-Bundle: org.adempiere.base;bundle-version="0.0.0", Require-Bundle: org.adempiere.base;bundle-version="0.0.0",
org.adempiere.ui;bundle-version="0.0.0", org.adempiere.ui;bundle-version="0.0.0",
org.idempiere.zk.extra;bundle-version="0.0.0", org.idempiere.zk.extra;bundle-version="0.0.0",

View File

@ -26,7 +26,7 @@ Copyright (C) 2007 Ashley G Ramdass (ADempiere WebUI).
<component> <component>
<component-name>keylistener</component-name> <component-name>keylistener</component-name>
<component-class>org.zkforge.keylistener.Keylistener</component-class> <component-class>org.zkforge.keylistener.Keylistener</component-class>
<widget-class>zkforge.KeyListener</widget-class> <widget-class>zkforge.keylistener.KeyListener</widget-class>
<mold> <mold>
<mold-name>default</mold-name> <mold-name>default</mold-name>
<mold-uri>mold/key-listener.js</mold-uri> <mold-uri>mold/key-listener.js</mold-uri>
@ -52,6 +52,7 @@ Copyright (C) 2007 Ashley G Ramdass (ADempiere WebUI).
<javascript-module name="jquery.maskedinput" version="1.4.1" /> <javascript-module name="jquery.maskedinput" version="1.4.1" />
<javascript-module name="photobooth" version="0.7-rsd3" /> <javascript-module name="photobooth" version="0.7-rsd3" />
<javascript-module name="chosenbox" version="202012041500"/> <javascript-module name="chosenbox" version="202012041500"/>
<javascript-module name="zkforge.keylistener" version="202012120100"/>
<!-- this js module doesn't actually exists and it is here for default theme version --> <!-- this js module doesn't actually exists and it is here for default theme version -->
<!-- since loading of js module is on demand, it doesn't cause any error as long as you don't try to load it --> <!-- since loading of js module is on demand, it doesn't cause any error as long as you don't try to load it -->

View File

@ -2,7 +2,7 @@
{{IS_NOTE {{IS_NOTE
Purpose: Purpose:
zkforge.KeyListener zkforge.keylistener.KeyListener
Description: Description:
Keylistener component for ZK. Keylistener component for ZK.
}}IS_NOTE }}IS_NOTE
@ -15,8 +15,8 @@ Copyright 2007 by Easit AB. All rights reserved.
}}IS_RIGHT }}IS_RIGHT
*/ */
zk.$package('zkforge'); zk.$package('zkforge.keylistener');
zkforge.KeyListener = zk.$extends(zul.Widget, { zkforge.keylistener.KeyListener = zk.$extends(zul.Widget, {
_ctrlKeys: null, _ctrlKeys: null,
_autoBlur: true, _autoBlur: true,

View File

@ -0,0 +1,3 @@
<package name="zkforge.keylistener" language="xul/html" depends="zul">
<widget name="KeyListener"/>
</package>

View File

@ -1,3 +0,0 @@
<package name="zkforge" language="xul/html" depends="zul">
<widget name="KeyListener"/>
</package>

View File

@ -18,6 +18,11 @@
<button id="continueText" href="/index.zul" label="Continue"/> <button id="continueText" href="/index.zul" label="Continue"/>
</div> </div>
</vbox> </vbox>
<script>
<![CDATA[
zk.load("adempiere.local.storage");
]]>
</script>
<script defer="true"> <script defer="true">
<![CDATA[ <![CDATA[
var callback = function(ok, val) { var callback = function(ok, val) {

View File

@ -1,5 +1,10 @@
<?page title="iDempiere" contentType="text/html;charset=UTF-8" automaticTimeout="false" ?> <?page title="iDempiere" contentType="text/html;charset=UTF-8" automaticTimeout="false" ?>
<zk> <zk>
<script>
<![CDATA[
zk.load("adempiere.local.storage");
]]>
</script>
<script defer="true"> <script defer="true">
<![CDATA[ <![CDATA[
var callback = function(ok, val) { var callback = function(ok, val) {