Index: branches/unlabeled/unlabeled-1.1.2/core/admin_templates/js/ajax.js =================================================================== diff -u -r6905 -r7073 --- branches/unlabeled/unlabeled-1.1.2/core/admin_templates/js/ajax.js (.../ajax.js) (revision 6905) +++ branches/unlabeled/unlabeled-1.1.2/core/admin_templates/js/ajax.js (.../ajax.js) (revision 7073) @@ -267,7 +267,7 @@ if (typeof this.ResponceFunction != 'function') { alert ('Please define responce function first'); } - + if (!isset(this.PopupSizes[$template])) { // alert('from ajax'); var $url = this.URL + '&type=GetPopupSize&template_name=' + $template; @@ -287,14 +287,14 @@ window.location.href = $match_redirect[1]; return false; } - + switch ($params[0]) { case 'GetSize': // store responce to cache for future use $object.PopupSizes[ $params[1] ] = $responce; break; } - + $object.ResponceFunction($responce); $object.ResponceFunction = null; // reset responce function }