aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-18 01:58:37 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-18 01:58:37 +0000
commit52ad7afda5a1f4001155227d2d96ddf04f8a28d1 (patch)
tree8f6448ae0cb7998feeb3f498ee19489425efebd2 /js
parent3468b554c90457e0033564ccd209359a4a37abd3 (diff)
downloadelgg-52ad7afda5a1f4001155227d2d96ddf04f8a28d1.tar.gz
elgg-52ad7afda5a1f4001155227d2d96ddf04f8a28d1.tar.bz2
Fixes #3385 rel now used for the confirm text so that title can be used separately
git-svn-id: http://code.elgg.org/elgg/trunk@9099 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js')
-rw-r--r--js/lib/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js
index 85ca8caf1..692311d73 100644
--- a/js/lib/ui.js
+++ b/js/lib/ui.js
@@ -221,7 +221,7 @@ elgg.ui.initHoverMenu = function(parent) {
* @return void
*/
elgg.ui.requiresConfirmation = function(e) {
- var confirmText = $(this).attr('title') || elgg.echo('question:areyousure');
+ var confirmText = $(this).attr('rel') || elgg.echo('question:areyousure');
if (!confirm(confirmText)) {
e.preventDefault();
}