From 99d132dc78b42b6cc5833b3a7faf30d2fe56186f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 4 Oct 2015 18:23:32 +1300 Subject: Disable JavaScript strict mode --- web/app/view/BaseDialog.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'web/app/view/BaseDialog.js') diff --git a/web/app/view/BaseDialog.js b/web/app/view/BaseDialog.js index f5cb8ca1d..fb09f12d1 100644 --- a/web/app/view/BaseDialog.js +++ b/web/app/view/BaseDialog.js @@ -13,15 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -(function () { - 'use strict'; - Ext.define('Traccar.view.BaseDialog', { - extend: 'Ext.window.Window', +Ext.define('Traccar.view.BaseDialog', { + extend: 'Ext.window.Window', - bodyPadding: Traccar.Style.panelPadding, - resizable: false, - modal: true - }); - -})(); + bodyPadding: Traccar.Style.panelPadding, + resizable: false, + modal: true +}); -- cgit v1.2.3