Publication started
This commit is contained in:
1 parent
670ec2a40e
commit
a298cbd5f6
8 files changed
+206
-105
No files matched your search
@@ -56,10 +56,10 @@ var orbitDesktopAPI = function(){
|
||||
};
|
||||
this.confirm = function(settings,callbackfn){
|
||||
if(!settings.buttons)settings.buttons=["Ok","Cancel"];
|
||||
if(settings.highlighted!=1 || settings.highlighted!=2)settings.highlighted=2;
|
||||
if(settings.highlighted!=1 && settings.highlighted!=2)settings.highlighted=2;
|
||||
if(!settings.message)settings.message = "Are you sure?"
|
||||
var $confirm = $("#orbitdiag");
|
||||
$confirm.find(".diag_action a").addClass("admbg admtxt");
|
||||
$confirm.find(".diag_action a").removeClass("thmc1 thmtxt").addClass("admbg admtxt");
|
||||
$confirm.find(".diag_message").text(settings.message);
|
||||
if(settings.highlighted == 1)
|
||||
$confirm.find("#diag_confirm").removeClass("admbg admtxt").addClass("thmc1 thmtxt");
|
||||
@@ -78,7 +78,7 @@ var orbitDesktopAPI = function(){
|
||||
callbackfn.call(this,false);
|
||||
});
|
||||
$confirm.show();
|
||||
}
|
||||
};
|
||||
};
|
||||
orbitDesktopAPI.prototype.notifyImgPath = "temp";
|
||||
orbitDesktopAPI.prototype.wallpaperPath = "temp";
|
||||
Reference in new issue
Block a user