gallery theater url fix for theater

This commit is contained in:
Harry Bomrah 2013-11-07 22:07:57 +08:00 committed by saurabhbhatia
parent 4f3f074573
commit 0db28d9ab4
2 changed files with 1 additions and 2 deletions

View File

@ -193,7 +193,6 @@ function pageSetting(id, edit, ps) {
$hiddenInput = $pageCategory.siblings('input[type="hidden"]');
_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);
console.log($hiddenInput, _selectData.module.category)
});
$pageCategoryGroup.show();
}

View File

@ -213,7 +213,7 @@ var galleryAPI = function(){
}
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);
$.each(album.images,function(i,image){
if(image._id == id)