From 5394b9948731fd85db5429ef3ce4432a1e296d68 Mon Sep 17 00:00:00 2001 From: Catouse Date: Tue, 15 May 2018 14:32:28 +0800 Subject: [PATCH 1/5] * fix fixed table footer in bottom not work. --- www/js/zui/min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/zui/min.js b/www/js/zui/min.js index d281520fb7..54761094fc 100644 --- a/www/js/zui/min.js +++ b/www/js/zui/min.js @@ -73,5 +73,5 @@ function(){var t,e,i,s,n,a={}.hasOwnProperty,o=function(t,e){function i(){this.c * Original idea by: * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/ */ -function(t){function e(e){if("string"==typeof e.data){var i=e.handler,s=e.data.toLowerCase().split(" ");e.handler=function(e){if(this===e.target||!/textarea|select/i.test(e.target.nodeName)&&"text"!==e.target.type){var n="keypress"!==e.type&&t.hotkeys.specialKeys[e.which],a=String.fromCharCode(e.which).toLowerCase(),o="",r={};e.altKey&&"alt"!==n&&(o+="alt+"),e.ctrlKey&&"ctrl"!==n&&(o+="ctrl+"),e.metaKey&&!e.ctrlKey&&"meta"!==n&&(o+="meta+"),e.shiftKey&&"shift"!==n&&(o+="shift+"),n?r[o+n]=!0:(r[o+a]=!0,r[o+t.hotkeys.shiftNums[a]]=!0,"shift+"===o&&(r[t.hotkeys.shiftNums[a]]=!0));for(var l=0,h=s.length;l","/":"?","\\":"|"}},t.each(["keydown","keyup","keypress"],function(){t.event.special[this]={add:e}})}(jQuery),function(t){"use strict";function e(e,i){if(e===!1)return e;if(!e)return i;e===!0?e={add:!0,"delete":!0,edit:!0,sort:!0}:"string"==typeof e&&(e=e.split(","));var s;return t.isArray(e)&&(s={},t.each(e,function(e,i){t.isPlainObject(i)?s[i.action]=i:s[i]=!0}),e=s),t.isPlainObject(e)&&(s={},t.each(e,function(e,i){i?s[e]=t.extend({type:e},o[e],t.isPlainObject(i)?i:null):s[e]=!1}),e=s),i?t.extend(!0,{},i,e):e}function i(e,i,s){return i=i||e.type,t(s||e.template).addClass("tree-action").attr(t.extend({"data-type":i,title:e.title||""},e.attr)).data("action",e)}var s="zui.tree",n=0,a=function(e,i){this.name=s,this.$=t(e),this.getOptions(i),this._init()},o={sort:{template:''},add:{template:''},edit:{template:''},"delete":{template:''}};a.DEFAULTS={animate:null,initialState:"normal",toggleTemplate:''},a.prototype.add=function(e,i,s,n,a){var o,r=t(e),l=this.options;if(r.is("li")?(o=r.children("ul"),o.length||(o=t("