Inline edit link not generated when PropertiesIconic is false
This commit is contained in:
12
js/sql.js
12
js/sql.js
@@ -69,8 +69,10 @@ function appendInlineAnchor() {
|
||||
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);
|
||||
if ($img_object.length != 0) {
|
||||
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')
|
||||
@@ -98,8 +100,10 @@ function appendInlineAnchor() {
|
||||
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);
|
||||
if ($img_object.length != 0) {
|
||||
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', '#')
|
||||
|
Reference in New Issue
Block a user