Cloud computing platform
Révision | c244aeca63b2942b9ea4dfcdaea17093a3854d0e (tree) |
---|---|
l'heure | 2014-08-26 20:09:42 |
Auteur | naoki hirata <naoki@magi...> |
Commiter | naoki hirata |
CKEditorの設定を変更。
@@ -172,7 +172,7 @@ CKEDITOR.dialog.add('linkinfoDialog', function(editor){ | ||
172 | 172 | |
173 | 173 | onLoad: function(){ |
174 | 174 | // 設定変更時の確認ダイアログを非表示にする |
175 | - this.on('cancel', function(cancelEvent){ return false; }, this, null, -1); | |
175 | + //this.on('cancel', function(cancelEvent){ return false; }, this, null, -1); | |
176 | 176 | |
177 | 177 | // このダイアログへの参照を取得 |
178 | 178 | dialog = this; |
@@ -657,9 +657,9 @@ | ||
657 | 657 | this.hidePage('tab_target'); //Hide Target tab. |
658 | 658 | |
659 | 659 | // 設定変更時の確認ダイアログを非表示にする |
660 | - this.on('cancel', function (cancelEvent) { | |
660 | + /*this.on('cancel', function (cancelEvent) { | |
661 | 661 | return false; |
662 | - }, this, null, -1); | |
662 | + }, this, null, -1);*/ | |
663 | 663 | |
664 | 664 | // このダイアログへの参照を取得 |
665 | 665 | dialog = this; |
@@ -175,6 +175,7 @@ CKEDITOR.editorConfig = function(config){ | ||
175 | 175 | // config.extraAllowedContent = 'iframe'; |
176 | 176 | // config.autoGrow_maxHeight = 800; // 指定サイズまで入力に合わせて拡大 |
177 | 177 | config.protectedSource.push(/<i[^>]*><\/i>/g); // iタグ許可 |
178 | + config.dialog_noConfirmCancel = true; // ダイアログキャンセル時のダイアログを非表示にする | |
178 | 179 | |
179 | 180 | // KCFinderの設定 |
180 | 181 | if (!jQuery().elfinder){ // elFinderが使用できない場合 |