File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1118,12 +1118,9 @@ var plugin_formcreator = new function() {
1118
1118
this . showTranslationEditor = function ( object ) {
1119
1119
var formlanguageId = $ ( object ) . closest ( '[data-itemtype="PluginFormcreatorForm_Language"][data-id]' ) . attr ( 'data-id' ) ;
1120
1120
var plugin_formcreator_translations_id = $ ( object ) . find ( 'input[name="id"]' ) . val ( ) ;
1121
- $ . post ( {
1122
- url : formcreatorRootDoc + '/ajax/edit_translation.php' ,
1123
- data : {
1124
- plugin_formcreator_form_languages_id : formlanguageId ,
1125
- plugin_formcreator_translations_id : ''
1126
- }
1121
+ $ ( '#plugin_formcreator_editTranslation' ) . load ( formcreatorRootDoc + '/ajax/edit_translation.php' , {
1122
+ plugin_formcreator_form_languages_id : formlanguageId ,
1123
+ plugin_formcreator_translations_id : ''
1127
1124
} ) ;
1128
1125
}
1129
1126
You can’t perform that action at this time.
0 commit comments