rhymix/modules/autoinstall/tpl/js/waiting.js
2012-03-05 09:16:55 +00:00

15 lines
374 B
JavaScript

(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);