forked from saurabh/orbit4-5
skip announcement with no category
This commit is contained in:
parent
cac23e3c52
commit
f6d29e128d
|
@ -193,9 +193,11 @@
|
|||
getPagesInfo();
|
||||
break;
|
||||
case "gallery":
|
||||
$(this).fadeOut();
|
||||
importGallery();
|
||||
break;
|
||||
case "links":
|
||||
$(this).fadeOut();
|
||||
importLinks();
|
||||
break;
|
||||
case "members":
|
||||
|
@ -608,6 +610,12 @@
|
|||
importModuleData();
|
||||
return;
|
||||
}
|
||||
|
||||
if(!categories[data['category']]){
|
||||
progress++;
|
||||
importModuleData();
|
||||
return;
|
||||
}
|
||||
var category_id = categories[data['category']]['id'];
|
||||
var Sn = data['Sn'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue