From 52ad7afda5a1f4001155227d2d96ddf04f8a28d1 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 18 May 2011 01:58:37 +0000 Subject: 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 --- js/lib/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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(); } -- cgit v1.2.3