clean Harry's code
This commit is contained in:
parent
2416030adc
commit
7e9fce0c2d
|
@ -574,20 +574,6 @@ var orbitDesktop = function(dom){
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
$(o.contentHolder).html(o.desktopData[o.currentface]);
|
$(o.contentHolder).html(o.desktopData[o.currentface]);
|
||||||
<<<<<<< Updated upstream
|
|
||||||
header_ani();
|
|
||||||
try {
|
|
||||||
if(!customload){
|
|
||||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"),data);
|
|
||||||
} 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]"),data);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch(EX){}
|
|
||||||
=======
|
|
||||||
try{
|
try{
|
||||||
if(!customload){
|
if(!customload){
|
||||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
||||||
|
@ -598,7 +584,6 @@ var orbitDesktop = function(dom){
|
||||||
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"));
|
||||||
}
|
}
|
||||||
}catch(EX){}
|
}catch(EX){}
|
||||||
>>>>>>> Stashed changes
|
|
||||||
cache = true;
|
cache = true;
|
||||||
if(typeof o.data_method != "undefined"){
|
if(typeof o.data_method != "undefined"){
|
||||||
if(o.data_method != ""){
|
if(o.data_method != ""){
|
||||||
|
|
|
@ -302,4 +302,12 @@ namespace :migrate do
|
||||||
page.save
|
page.save
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :to_daily_0410 => :environment do
|
||||||
|
#applying Harry's code
|
||||||
|
Rake::Task["desktop:upload_all_packages"].execute
|
||||||
|
#applying Spen's code
|
||||||
|
Rake::Task["web_link_url:web_link_url_i18n"].execute
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue