diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-12-08 11:42:20 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-07 14:56:32 +0300 |
commit | bfdf0db7c069f3a456c48b185f6222c1dcef2bbe (patch) | |
tree | 5c1d0a19192d84bbad9c49a44475e27c6024b0dd /settings | |
parent | 622c4cf77903470bc7ddc1df5b74d5e17a0e70c7 (diff) |
Autoescape of placeholders in t() and p() - for JS
* add disableEscape parameter to disable this functionality
* drop usage of escapeHTML() that is now done inside t()
* add unit test for escaped and not escaped placeholder
* proper JSDoc
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/users/deleteHandler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/deleteHandler.js b/settings/js/users/deleteHandler.js index 942bae91cd3..fcad39dd4cc 100644 --- a/settings/js/users/deleteHandler.js +++ b/settings/js/users/deleteHandler.js @@ -201,7 +201,7 @@ DeleteHandler.prototype.deleteEntry = function(keepNotification) { dh.removeCallback(dh.oidToDelete); dh.canceled = true; } else { - OC.dialogs.alert(result.data.message, t('settings', 'Unable to delete {objName}', {objName: escapeHTML(dh.oidToDelete)})); + OC.dialogs.alert(result.data.message, t('settings', 'Unable to delete {objName}', {objName: dh.oidToDelete})); dh.undoCallback(dh.oidToDelete); } } |