section fixed and some other fixes
This commit is contained in:
1 parent
7430a05782
commit
8094ddc967
3 files changed
+193
-29
No files matched your search
@@ -344,7 +344,7 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
|
||||
fill: '.s_grid_con'
|
||||
})
|
||||
$(".bt-cancel").click(function(){
|
||||
o.sub_menu_item($(div[content-type=menu] a[custom-load=acoauthor]));
|
||||
o.sub_menu_item($("div[content-type=menu] a[custom-load=acoauthor]"));
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
@@ -233,6 +233,21 @@ var orbitDesktop = function(dom){
|
||||
if(o.data_method != "")
|
||||
window.o[o.data_method](target,url,cache);
|
||||
}
|
||||
try{
|
||||
if(!customload)
|
||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
||||
else{
|
||||
if(submenuitem)
|
||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[custom-load="+submenuitem+"]"));
|
||||
else
|
||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
||||
}
|
||||
}catch(EX){}
|
||||
|
||||
})
|
||||
}else{
|
||||
$(o.contentHolder).html(o.desktopData[o.currentface]);
|
||||
try{
|
||||
if(!customload)
|
||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
||||
else{
|
||||
@@ -241,18 +256,7 @@ var orbitDesktop = function(dom){
|
||||
else
|
||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
||||
}
|
||||
|
||||
})
|
||||
}else{
|
||||
$(o.contentHolder).html(o.desktopData[o.currentface]);
|
||||
if(!customload)
|
||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
||||
else{
|
||||
if(submenuitem)
|
||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[custom-load="+submenuitem+"]"));
|
||||
else
|
||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
||||
}
|
||||
}catch(EX){}
|
||||
cache = true;
|
||||
if(typeof o.data_method != "undefined"){
|
||||
if(o.data_method != "")
|
||||
@@ -565,7 +569,6 @@ var orbitDesktop = function(dom){
|
||||
loadApps();
|
||||
};
|
||||
this.initializeSectionsManager = function(target,url,cache){ // this is init function for section manager
|
||||
|
||||
var elementParent,element,slabel;
|
||||
var bindHandlers = function(){ // this is bind handler for section manager page
|
||||
var groupWrapperWidth = 0;
|
||||
@@ -641,6 +644,7 @@ var orbitDesktop = function(dom){
|
||||
|
||||
$.each(apps,function(i,app){
|
||||
$li = $('<li class="element to_drop w1 hh2 hp vp" data-category="'+app.data_category+'" data-content="'+app.data_content+'" id="'+app._id+'"><div class="appicon"><img src="'+o.iconPath+app.data_content+'.png" class="" width="30" /></div><h1 class="appname thmtxth">'+app.title+'</h1></li>');
|
||||
|
||||
$("ul#section"+yy).append($li);
|
||||
})
|
||||
if(y==1){
|
||||
|
||||
Reference in new issue
Block a user