with notifications and other changes
This commit is contained in:
1 parent
176597f5af
commit
aa3997f7cf
9 files changed
+76
-11
No files matched your search
@@ -18,7 +18,6 @@ var orbitDesktop = function(dom){
|
||||
o.themesettings = eval(ts);
|
||||
$('head').append( $('<link rel="stylesheet" id="dyn_css" type="text/css" />').attr('href', "/"+o.themefolder+"/"+theme+"/css/"+ts.css));
|
||||
$(document).ready(function(){o.loadWallpaper();o.bindDesktopEvents();o.loadIconCache();o.initializeDesktop();});
|
||||
return;
|
||||
})
|
||||
|
||||
};
|
||||
@@ -134,7 +133,7 @@ var orbitDesktop = function(dom){
|
||||
}
|
||||
};
|
||||
this.tempFunc = function(){
|
||||
alert(o.tp);
|
||||
o.notify("This is test notification!!","imp")
|
||||
}
|
||||
this.initializeAppSearch = function(target){
|
||||
o.currenthtml = target;
|
||||
@@ -204,8 +203,9 @@ var orbitDesktop = function(dom){
|
||||
});
|
||||
$(".section_label ul li:not(:nth-child(1))").droppable({
|
||||
drop:function(){
|
||||
if($("#"+$(this).attr("data-category")+" .element").length>=24)
|
||||
o.notify("Section is full");
|
||||
if($("#"+$(this).attr("data-category")+" .element").length>=24){
|
||||
o.notify("Section is full.","alert");
|
||||
}
|
||||
else
|
||||
$("#"+$(this).attr("data-category")).append(element);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user