mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Default alert is overwritten
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12452 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d1bbd72416
commit
7ec02806be
4 changed files with 40 additions and 143 deletions
|
|
@ -1002,7 +1002,8 @@ jQuery(function($){
|
|||
</div>');
|
||||
|
||||
//console.log($msgBox.html());
|
||||
$($.find("body")).append($msgBox);
|
||||
$($("body")).append($msgBox);
|
||||
//console.log($msgBox);
|
||||
//console.log($.find("body"));
|
||||
//$msgBox.show();
|
||||
/*
|
||||
|
|
@ -1126,6 +1127,16 @@ jQuery(function($){
|
|||
|
||||
this.showMsgBox(htOptions);
|
||||
}
|
||||
$.xeMsgBox.alert = function(sTitle){
|
||||
htOptions = {
|
||||
bAlert : true,
|
||||
bNobody : true,
|
||||
bSmall: true,
|
||||
sTitle : sTitle
|
||||
};
|
||||
|
||||
this.showMsgBox(htOptions);
|
||||
}
|
||||
$.xeMsgBox.confirmDialog = function(htOptions){
|
||||
htOptions = htOptions || {};
|
||||
htOptions.bAlert = false;
|
||||
|
|
@ -2271,5 +2282,10 @@ jQuery(function($){
|
|||
});
|
||||
*/
|
||||
});
|
||||
//----------------menu selector end
|
||||
|
||||
//----------------menu selector end
|
||||
jQuery(function($){
|
||||
alert = function(){
|
||||
return $.xeMsgBox.alert.apply($.xeMsgBox, arguments);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue