mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
AC-564 fixed a bug with CodeMirror editor and post dialog removal/cleanup.
This commit is contained in:
@@ -32,7 +32,6 @@ angular.module('ParseHelper', ['Utilities', 'AngularCodeMirrorModule'])
|
|||||||
//hide the textarea and show a fresh CodeMirror with the current mode (json or yaml)
|
//hide the textarea and show a fresh CodeMirror with the current mode (json or yaml)
|
||||||
codeMirror = AngularCodeMirror();
|
codeMirror = AngularCodeMirror();
|
||||||
codeMirror.addModes($AnsibleConfig.variable_edit_modes);
|
codeMirror.addModes($AnsibleConfig.variable_edit_modes);
|
||||||
console.log('here');
|
|
||||||
codeMirror.showTextArea({ scope: scope, model: fld, element: field_id, mode: scope[pfld], onReady: onReady, onChange: onChange });
|
codeMirror.showTextArea({ scope: scope, model: fld, element: field_id, mode: scope[pfld], onReady: onReady, onChange: onChange });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user