This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var __setOption = $.ui.dialog.prototype._setOption; | |
$.extend($.ui.dialog.prototype, { | |
_setOption : function (key, value) { | |
var self = this, | |
uiDialog = self.uiDialog; | |
if (key === 'message') { | |
self.element.html("" + (value || ' ')); | |
} | |
__setOption.apply(self, arguments); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//perform the same duty as children but includes free floating 'text' nodes | |
jQuery.fn.extend({ | |
offspring: function() { | |
return jQuery( | |
jQuery.map( this, function(n){ | |
return jQuery.grep(n.childNodes, function(n) { | |
return n.nodeType == 1 || n.nodeType == 3; | |
}); | |
}) | |
); |
OlderNewer