The branch, master has been updated via 7ef6fbaabc39289ee743811e4a62fedd343b8a8a (commit) from ce116ac614778efaa61f641b02d36ce0269feb56 (commit)
- Log ----------------------------------------------------------------- commit 7ef6fbaabc39289ee743811e4a62fedd343b8a8a Author: Madhura Jayaratne madhura.cj@gmail.com Date: Sat Mar 12 06:09:09 2011 +0530
Fix highlighting for save/hide of inline-edit
-----------------------------------------------------------------------
Summary of changes: js/sql.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/js/sql.js b/js/sql.js index 9b5edf9..b513ffb 100644 --- a/js/sql.js +++ b/js/sql.js @@ -441,6 +441,8 @@ $(document).ready(function() { $this_children.text(PMA_messages['strInlineEdit']); var $this_hide = $(this).parent(); $this_hide.removeClass("inline_edit_active hover").addClass("inline_edit_anchor"); + $this_hide.parent().removeClass("hover"); + $this_hide.siblings().removeClass("hover"); var last_column = $this_hide.siblings().length; var txt = []; var blob_index = []; @@ -919,7 +921,9 @@ $(document).ready(function() { }
PMA_ajaxShowMessage(data.message); - $this_td.removeClass('inline_edit_active').addClass('inline_edit_anchor'); + $this_td.removeClass('inline_edit_active hover').addClass('inline_edit_anchor'); + $this_td.parent().removeClass('hover') + $this_td.siblings().removeClass('hover');
$input_siblings.each(function() { // Inline edit post has been successful.
hooks/post-receive