From 3e07e1d0e7a8b975f198a941e22a3ad6ab9d16f7 Mon Sep 17 00:00:00 2001
From: CJJ <Administrator@192.168.10.26>
Date: 星期三, 21 十一月 2018 16:00:47 +0800
Subject: [PATCH] 22222222222

---
 gx_tieta/WebRoot/js/whyc-jqueryui.js |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/gx_tieta/WebRoot/js/whyc-jqueryui.js b/gx_tieta/WebRoot/js/whyc-jqueryui.js
index 4c655cf..040d77c 100644
--- a/gx_tieta/WebRoot/js/whyc-jqueryui.js
+++ b/gx_tieta/WebRoot/js/whyc-jqueryui.js
@@ -587,7 +587,12 @@
 		if(isString(options)) {
 			var oldOpts = this.data('testVal');
 			opts = $.extend({}, opts, oldOpts);
-			opts[attr] = val;
+			if(attr == 'allOpts') {
+				opts = $.extend({}, opts, val);
+			}else {
+				opts[attr] = val;
+			}
+			
 		}else if(isObject(options)){
 			opts = $.extend(true, {}, defaults, options||{});
 		}

--
Gitblit v1.9.1