diff options
author | Michal Čihař <mcihar@suse.cz> | 2013-04-15 17:12:49 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2013-04-15 17:13:14 +0400 |
commit | a1b6f206b2cfe78e3819ef1bf1da0c78f847a2ca (patch) | |
tree | edd5812cb8dd2abf75a7548e01f548c6ac8693ed /js/rte.js | |
parent | b9aa5280b1c1dff488a517263057a33c3c4192d8 (diff) |
Various spacing and identation fixes
Diffstat (limited to 'js/rte.js')
-rw-r--r-- | js/rte.js | 50 |
1 files changed, 25 insertions, 25 deletions
@@ -16,17 +16,17 @@ var RTE = { object: function (type) { $.extend(this, RTE.COMMON); switch (type) { - case 'routine': - $.extend(this, RTE.ROUTINE); - break; - case 'trigger': - // nothing extra yet for triggers - break; - case 'event': - $.extend(this, RTE.EVENT); - break; - default: - break; + case 'routine': + $.extend(this, RTE.ROUTINE); + break; + case 'trigger': + // nothing extra yet for triggers + break; + case 'event': + $.extend(this, RTE.EVENT); + break; + default: + break; } }, /** @@ -126,10 +126,10 @@ RTE.COMMON = { * Display the dialog to the user */ var $ajaxDialog = $('<div>' + data.message + '</div>').dialog({ - width: 500, - buttons: button_options, - title: data.title - }); + width: 500, + buttons: button_options, + title: data.title + }); // Attach syntax highlited editor to export dialog /** * @var $elm jQuery object containing the reference @@ -297,15 +297,15 @@ RTE.COMMON = { * Display the dialog to the user */ that.$ajaxDialog = $('<div>' + data.message + '</div>').dialog({ - width: 700, - minWidth: 500, - buttons: that.buttonOptions, - title: data.title, - modal: true, - close: function () { - $(this).remove(); - } - }); + width: 700, + minWidth: 500, + buttons: that.buttonOptions, + title: data.title, + modal: true, + close: function () { + $(this).remove(); + } + }); that.$ajaxDialog.find('input[name=item_name]').focus(); that.$ajaxDialog.find('input.datefield, input.datetimefield').each(function () { PMA_addDatepicker($(this).css('width', '95%')); @@ -766,7 +766,7 @@ $(function () { */ $('a.ajax.drop_anchor').live('click', function (event) { event.preventDefault(); - var dialog = new RTE.object(); + var dialog = new RTE.object(); dialog.dropDialog($(this)); }); // end $.live() |