From 9399f8af8d5fe035ef977ee9e24b800a37b19e9a Mon Sep 17 00:00:00 2001 From: ninadsp Date: Sun, 22 Aug 2010 13:23:16 +0530 Subject: [PATCH] Improved the appendInlineAnchor() function to edit the text now displayed with each anchor --- js/sql.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/sql.js b/js/sql.js index 883c3047b..91d1b50ad 100644 --- a/js/sql.js +++ b/js/sql.js @@ -48,7 +48,8 @@ function appendInlineAnchor(disp_mode) { $(cloned_row).find('td').addClass('edit_row_anchor') .find('a').attr('href', '#') - .find('img').attr('title', 'Inline Edit'); + .find('img').attr('title', 'Inline Edit') + .after("Inline"); $(cloned_row).insertBefore($('.where_clause').parent('tr')); @@ -64,7 +65,8 @@ function appendInlineAnchor(disp_mode) { $(cloned_anchor).addClass('edit_row_anchor') .find('a').attr('href', '#') - .find('img').attr('title', 'Inline Edit'); + .find('img').attr('title', 'Inline Edit') + .after("Inline"); $(this).siblings('.where_clause') .before(cloned_anchor);