issue 160, add waiting message when install/uninstall, fix invalid encoding

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9295 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-09-23 04:12:39 +00:00
parent 1b261db0c8
commit 7c496eb936
4 changed files with 21 additions and 4 deletions

View file

@ -0,0 +1,15 @@
(function($){
var WaitingStub = xe.createPlugin('waiting_stub', {
API_BEFORE_VALIDATE : function(sender, params) {
$('.wfsr').html(waiting_message).show();
},
API_BEFORE_SHOW_ALERT : function(sender, params) {
$('.wfsr').hide();
}
});
var Validator = xe.getApp('validator')[0];
if(Validator){
Validator.registerPlugin(new WaitingStub);
}
})(jQuery);