gallery theater url fix for theater
This commit is contained in:
parent
4f3f074573
commit
f2cb8e78ad
|
@ -193,7 +193,6 @@ function pageSetting(id, edit, ps) {
|
||||||
$hiddenInput = $pageCategory.siblings('input[type="hidden"]');
|
$hiddenInput = $pageCategory.siblings('input[type="hidden"]');
|
||||||
_selectData.module.category.length ? $hiddenInput.removeAttr('name') : $hiddenInput.attr('name', 'page[category][]');
|
_selectData.module.category.length ? $hiddenInput.removeAttr('name') : $hiddenInput.attr('name', 'page[category][]');
|
||||||
_selectData.module.category.length == index + 1 ? $all.prop('checked', true) : $all.prop('checked', false);
|
_selectData.module.category.length == index + 1 ? $all.prop('checked', true) : $all.prop('checked', false);
|
||||||
console.log($hiddenInput, _selectData.module.category)
|
|
||||||
});
|
});
|
||||||
$pageCategoryGroup.show();
|
$pageCategoryGroup.show();
|
||||||
}
|
}
|
||||||
|
|
|
@ -213,7 +213,7 @@ var galleryAPI = function(){
|
||||||
}
|
}
|
||||||
|
|
||||||
var preparestage = function(albumid){
|
var preparestage = function(albumid){
|
||||||
$.getJSON("panel/gallery/front_end/albums/"+albumid+"/imgs",{"inner":true},function(album){
|
$.getJSON("/panel/gallery/front_end/albums/"+albumid+"/imgs",{"inner":true},function(album){
|
||||||
imageArray = eval(album.images);
|
imageArray = eval(album.images);
|
||||||
$.each(album.images,function(i,image){
|
$.each(album.images,function(i,image){
|
||||||
if(image._id == id)
|
if(image._id == id)
|
||||||
|
|
Loading…
Reference in New Issue