BUG 9549 I added a confirm to import dynaform SOLVED
I added a confirm to import dynaform
This commit is contained in:
@@ -166,7 +166,7 @@ switch ($request) {
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="2" class="FormButton">
|
||||
<input type="button" onclick="dynaformEditor.importation(document.getElementById('form[IMPORT_DYNA]').value);" value="' . G::LoadTranslation('ID_IMPORT') . '" class="module_app_button___gray " style="">
|
||||
<input type="button" onclick="if (confirm('' . G::LoadTranslation('ID_CONFIRM_IMPORT_DYNAFORM') . '')) { dynaformEditor.importation(document.getElementById('form[IMPORT_DYNA]').value); }" value="' . G::LoadTranslation('ID_IMPORT') . '" class="module_app_button___gray " style="">
|
||||
<input type="button" onclick="panelImportDyna.remove();" value="' . G::LoadTranslation('ID_CANCEL') . '" class="module_app_button___gray " style="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user