From 2febe50b1b52293e16330bb9e3437c83f8ade41e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 18 Dec 2013 09:43:04 +0100 Subject: [PATCH] editor: minor refactoring --- src/editor/modules/data/dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor/modules/data/dialog.js b/src/editor/modules/data/dialog.js index 0ad87e5..a2c56e2 100644 --- a/src/editor/modules/data/dialog.js +++ b/src/editor/modules/data/dialog.js @@ -4,7 +4,7 @@ define(function(require) { var _ = require('libs/underscore'), Backbone = require('libs/backbone'), - saveDialogTemplate = require('libs/text!./dialog.html'), + dialogTemplate = require('libs/text!./dialog.html'), fieldTemplates = {}; fieldTemplates.checkbox = require('libs/text!./templates/checkbox.html'); fieldTemplates.select = require('libs/text!./templates/select.html'); @@ -14,7 +14,7 @@ define(function(require) { var DialogView = Backbone.View.extend({ - template: _.template(saveDialogTemplate), + template: _.template(dialogTemplate), events: { 'click .save-btn': 'onSave', 'click .cancel-btn': 'close', -- 2.20.1