Event attribute pagination is persistent through edits / deletes

pull/306/merge
iglocska 2014-10-27 16:51:23 +01:00
parent 2eae0c1de0
commit a87d88e049
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
{"major":2, "minor":3, "hotfix":14}
{"major":2, "minor":3, "hotfix":15}

View File

@ -86,8 +86,8 @@ function eventUnpublish() {
$('.notPublished').show();
}
function updateIndex(id, context, page) {
if (typeof page === 'undefined') page = 1;
function updateIndex(id, context, newPage) {
if (typeof newPage !== 'undefined') page = newPage;
var url, div;
if (context == 'event') {
url = "/events/view/" + id + "/attributesPage:" + page;