Commit 097240a0 authored by webchick's avatar webchick
Browse files

Issue #2428041 by nod_: Update eslint config for 0.14.1

parent a2ef3c3f
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
"comma-style": [2, "last"], "comma-style": [2, "last"],
"eqeqeq": [2, "smart"], "eqeqeq": [2, "smart"],
"guard-for-in": 2, "guard-for-in": 2,
"indent": [2, 2, {"indentSwitchCase": true}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}], "key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"no-implied-eval": 2, "no-implied-eval": 2,
"no-mixed-spaces-and-tabs": 2, "no-mixed-spaces-and-tabs": 2,
......
...@@ -99,17 +99,16 @@ ...@@ -99,17 +99,16 @@
// If dropped in a placeholder button group, the user must name it. // If dropped in a placeholder button group, the user must name it.
if ($group.hasClass('placeholder')) { if ($group.hasClass('placeholder')) {
if (view.isProcessing) {
return;
}
view.isProcessing = true;
if (view.isProcessing) { Drupal.ckeditor.openGroupNameDialog(view, $group, callback);
return;
}
view.isProcessing = true;
Drupal.ckeditor.openGroupNameDialog(view, $group, callback);
} }
else { else {
view.model.set('isDirty', true); view.model.set('isDirty', true);
callback(true); callback(true);
} }
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment