diff --git a/UI/WebServerResources/js/Common/Dialog.service.js b/UI/WebServerResources/js/Common/Dialog.service.js index d09c8e8af..4ce2473af 100644 --- a/UI/WebServerResources/js/Common/Dialog.service.js +++ b/UI/WebServerResources/js/Common/Dialog.service.js @@ -50,6 +50,7 @@ */ Dialog.prompt = function(title, label, options) { var o = options || {}, + id = title.asCSSIdentifier(), d = this.$q.defer(); this.$modal.show({ @@ -58,23 +59,25 @@ escapeToClose: true, template: [ '', - ' ', - '

', - ' ', - ' ', - ' ', - ' ', - '
', + '
', + ' ', + '

', + ' ', + ' ', + ' ', + ' ', + '
', ' ', ' ', ' ' + l('Cancel'), ' ', - ' ', + ' ', ' ' + l('OK'), ' ', ' ', + '
', '
' ].join(''), controller: PromptDialogController