diff --git a/src/sunstone/public/app/tabs/templates-tab/dialogs/clone.js b/src/sunstone/public/app/tabs/templates-tab/dialogs/clone.js index a76e63837f..7f6cd99ceb 100644 --- a/src/sunstone/public/app/tabs/templates-tab/dialogs/clone.js +++ b/src/sunstone/public/app/tabs/templates-tab/dialogs/clone.js @@ -75,7 +75,7 @@ define(function(require) { return false; }); - $('#' + DIALOG_ID + 'Form', context).on("click", "button", function() { + $('#' + DIALOG_ID + 'Form', context).on("click", "button.custom_submit", function() { if(!$('#' + DIALOG_ID + 'Form', context)[0].checkValidity()){ if ($(this).val() == that.resource+".clone_recursive"){ $('#' + DIALOG_ID + 'Form button[type="submit"]', context).click(); diff --git a/src/sunstone/public/app/tabs/templates-tab/dialogs/clone/html.hbs b/src/sunstone/public/app/tabs/templates-tab/dialogs/clone/html.hbs index df7c0c7978..41bc62e185 100644 --- a/src/sunstone/public/app/tabs/templates-tab/dialogs/clone/html.hbs +++ b/src/sunstone/public/app/tabs/templates-tab/dialogs/clone/html.hbs @@ -41,13 +41,11 @@
-