From 6c0e5fd7107e7d6719f8cd770a5d04da0c001c84 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 27 Dec 2010 09:07:05 -0500 Subject: [PATCH] Inline edit icon --- js/sql.js | 4 ++++ themes/darkblue_orange/img/b_inline_edit.png | Bin 0 -> 369 bytes themes/original/img/b_inline_edit.png | Bin 0 -> 369 bytes 3 files changed, 4 insertions(+) create mode 100644 themes/darkblue_orange/img/b_inline_edit.png create mode 100644 themes/original/img/b_inline_edit.png diff --git a/js/sql.js b/js/sql.js index 5a359c574..7e85e464a 100644 --- a/js/sql.js +++ b/js/sql.js @@ -68,6 +68,8 @@ function appendInlineAnchor(disp_mode) { var $cloned_tr = $this_tr.clone(); var $img_object = $cloned_tr.find('img:first').attr('title', PMA_messages['strInlineEdit']); + var img_src = $img_object.attr('src').replace(/b_edit/,'b_inline_edit'); + $img_object.attr('src', img_src); $cloned_tr.find('td') .addClass('inline_edit_anchor') @@ -91,6 +93,8 @@ function appendInlineAnchor(disp_mode) { var $cloned_anchor = $this_td.clone(); var $img_object = $cloned_anchor.find('img').attr('title', PMA_messages['strInlineEdit']); + var img_src = $img_object.attr('src').replace(/b_edit/,'b_inline_edit'); + $img_object.attr('src', img_src); $cloned_anchor.addClass('inline_edit_anchor') .find('a').attr('href', '#') diff --git a/themes/darkblue_orange/img/b_inline_edit.png b/themes/darkblue_orange/img/b_inline_edit.png new file mode 100644 index 0000000000000000000000000000000000000000..98977eb0549d74e0b242113bd72e0056ce5bb60c GIT binary patch literal 369 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4rT@h1`S>QUn`6IT+?}hb8?Zq7;al;JwNVF`{bDq_pvlBsVH51I!~NrY_A{}cV)?la1( QFfcH9y85}Sb4q9e07nFYT>t<8 literal 0 HcmV?d00001 diff --git a/themes/original/img/b_inline_edit.png b/themes/original/img/b_inline_edit.png new file mode 100644 index 0000000000000000000000000000000000000000..98977eb0549d74e0b242113bd72e0056ce5bb60c GIT binary patch literal 369 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4rT@h1`S>QUn`6IT+?}hb8?Zq7;al;JwNVF`{bDq_pvlBsVH51I!~NrY_A{}cV)?la1( QFfcH9y85}Sb4q9e07nFYT>t<8 literal 0 HcmV?d00001