Inline edit icon
This commit is contained in:
@@ -68,6 +68,8 @@ function appendInlineAnchor(disp_mode) {
|
|||||||
var $cloned_tr = $this_tr.clone();
|
var $cloned_tr = $this_tr.clone();
|
||||||
|
|
||||||
var $img_object = $cloned_tr.find('img:first').attr('title', PMA_messages['strInlineEdit']);
|
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')
|
$cloned_tr.find('td')
|
||||||
.addClass('inline_edit_anchor')
|
.addClass('inline_edit_anchor')
|
||||||
@@ -91,6 +93,8 @@ function appendInlineAnchor(disp_mode) {
|
|||||||
var $cloned_anchor = $this_td.clone();
|
var $cloned_anchor = $this_td.clone();
|
||||||
|
|
||||||
var $img_object = $cloned_anchor.find('img').attr('title', PMA_messages['strInlineEdit']);
|
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')
|
$cloned_anchor.addClass('inline_edit_anchor')
|
||||||
.find('a').attr('href', '#')
|
.find('a').attr('href', '#')
|
||||||
|
BIN
themes/darkblue_orange/img/b_inline_edit.png
Normal file
BIN
themes/darkblue_orange/img/b_inline_edit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 369 B |
BIN
themes/original/img/b_inline_edit.png
Normal file
BIN
themes/original/img/b_inline_edit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 369 B |
Reference in New Issue
Block a user