Index: trunk/core/admin_templates/js/ajax.js =================================================================== diff -u -N -r7391 -r7635 --- trunk/core/admin_templates/js/ajax.js (.../ajax.js) (revision 7391) +++ trunk/core/admin_templates/js/ajax.js (.../ajax.js) (revision 7635) @@ -284,8 +284,8 @@ } AjaxPopupManager.prototype.GetSize = function ($template) { - if (typeof this.ResponceFunction != 'function') { - alert ('Please define responce function first'); + if (this.ResponceFunction == null) { + alert ('Please define responce function first (type: '+typeof(this.ResponceFunction)+')'); } if (!isset(this.PopupSizes[$template])) {