diff --git a/deploy_manager/templates/deploy_manager/project_version_form.html b/deploy_manager/templates/deploy_manager/project_version_form.html index d6c6e4d90c7cc6835cd67a73e4d52239fb384bea..14b0d57ef567745c6c48a0f50943082b0b622f98 100755 --- a/deploy_manager/templates/deploy_manager/project_version_form.html +++ b/deploy_manager/templates/deploy_manager/project_version_form.html @@ -128,7 +128,7 @@ var anti_editor; var extra_param_editor; function preSubmit() { - $('#id_subplaybook_editor').val(editor.getValue()) + $('#id_subplaybook').val(editor.getValue()) $('#id_anti_install_playbook').val(editor.getValue()) $('#id_extra_param').val(extra_param_editor.getValue()) return true; diff --git a/saltops/__init__.py b/saltops/__init__.py index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c45523b2f83d4ee6d8742e97d5c9f9775f01cae0 100755 --- a/saltops/__init__.py +++ b/saltops/__init__.py @@ -0,0 +1,2 @@ +import pymysql +pymysql.install_as_MySQLdb() \ No newline at end of file