diff --git a/src/admin/assets/src/js/classes/Window.js b/src/admin/assets/src/js/classes/Window.js index 75d036c..aa3d2b6 100644 --- a/src/admin/assets/src/js/classes/Window.js +++ b/src/admin/assets/src/js/classes/Window.js @@ -20,18 +20,9 @@ var self = this; this.trigger('beforeOpen'); - //строка параметров, собираем из массива - var paramsSting = ""; - if (this.getOpts()) { - _.each(this.getOpts(), function (value, key) { - if (paramsSting) { - paramsSting = paramsSting + ','; - } - paramsSting = paramsSting + String(key) + "=" + String(value); - }); - } var name = this.getName(); + /*var currentHref = window.location.href;*/ this.onDomReady(function () { $.fancybox.open({ @@ -46,6 +37,11 @@ 'afterClose': function () { self.trigger('close'); + /*window.history.replaceState(null, 'title', currentHref);*/ + }, + 'afterShow': function () { + /*window.history.replaceState(null, 'title', self._src);*/ + }, iframe: { tpl: '',