Improved the appendInlineAnchor() function to edit the text now displayed with each anchor

This commit is contained in:
ninadsp
2010-08-22 13:23:16 +05:30
parent 5a27df6ad8
commit 9399f8af8d

View File

@@ -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);