blob: 0ebf8577cf6779cb57aa261e21dd4d0c0b2be665 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
var Notify = {
notifyOlHandler : null
};
Notify.init = function () {
this.notifyOlHandler = new OverlayHandler("NotifyHndl");
this.notifyOlHandler.init(Notify.handlerShowNotify, Notify.handlerHideNotify);
};
Notify.showNotify = function (msg, timer) {
$("#notify").text(msg);
if (timer == true)
this.notifyOlHandler.show();
else
$("#notify").show();
};
Notify.handlerShowNotify = function () {
$("#notify").show();
};
Notify.handlerHideNotify = function () {
$("#notify").hide();
};
|