|
|
@ -3931,9 +3931,7 @@ _extend(KToolbar, KWidget, {
|
|
|
|
pdiv = $("#define",container);
|
|
|
|
pdiv = $("#define",container);
|
|
|
|
}else if(!$("#full",container).is(':hidden')){
|
|
|
|
}else if(!$("#full",container).is(':hidden')){
|
|
|
|
pdiv = $("#full",container);
|
|
|
|
pdiv = $("#full",container);
|
|
|
|
}else{ //都隐藏的情况下
|
|
|
|
}
|
|
|
|
pdiv = $("#define",container);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return (this._itemMap[name] = K('span.ke-icon-' + name, pdiv).parent());
|
|
|
|
return (this._itemMap[name] = K('span.ke-icon-' + name, pdiv).parent());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
select : function(name) {
|
|
|
|
select : function(name) {
|
|
|
@ -4730,19 +4728,13 @@ function _bindTabEvent() {
|
|
|
|
function _bindFocusEvent() {
|
|
|
|
function _bindFocusEvent() {
|
|
|
|
var self = this;
|
|
|
|
var self = this;
|
|
|
|
K(self.edit.textarea[0], self.edit.win).focus(function(e) {
|
|
|
|
K(self.edit.textarea[0], self.edit.win).focus(function(e) {
|
|
|
|
if(typeof self.afterFocus == 'string'){
|
|
|
|
if (self.afterFocus) {
|
|
|
|
self.afterFocus = eval(self.afterFocus);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( typeof self.afterFocus == 'function') {
|
|
|
|
|
|
|
|
self.afterFocus.call(self, e);
|
|
|
|
self.afterFocus.call(self, e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).blur(function(e) {
|
|
|
|
}).blur(function(e) {
|
|
|
|
if(typeof self.afterBlur == 'string'){
|
|
|
|
if (self.afterBlur) {
|
|
|
|
self.afterBlur = eval(self.afterBlur);
|
|
|
|
self.afterBlur.call(self, e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( typeof self.afterBlur == 'function') {
|
|
|
|
|
|
|
|
self.afterBlur.call(self, e);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function _removeBookmarkTag(html) {
|
|
|
|
function _removeBookmarkTag(html) {
|
|
|
|