Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/rte.js
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2013-04-15 17:12:49 +0400
committerMichal Čihař <mcihar@suse.cz>2013-04-15 17:13:14 +0400
commita1b6f206b2cfe78e3819ef1bf1da0c78f847a2ca (patch)
treeedd5812cb8dd2abf75a7548e01f548c6ac8693ed /js/rte.js
parentb9aa5280b1c1dff488a517263057a33c3c4192d8 (diff)
Various spacing and identation fixes
Diffstat (limited to 'js/rte.js')
-rw-r--r--js/rte.js50
1 files changed, 25 insertions, 25 deletions
diff --git a/js/rte.js b/js/rte.js
index e9863a4d01..20ef257c2f 100644
--- a/js/rte.js
+++ b/js/rte.js
@@ -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()