Make copy separate column

This commit is contained in:
Michal Čihař
2011-02-08 11:54:02 +01:00
parent 92b179bf43
commit 143b830a7d
2 changed files with 42 additions and 14 deletions

View File

@@ -74,7 +74,6 @@ function appendInlineAnchor() {
$cloned_tr.find('td')
.addClass('inline_edit_anchor')
.find('span.sep, a:last').remove().end()
.find('a').attr('href', '#')
.find('span')
.text(' ' + PMA_messages['strInlineEdit'])
@@ -99,7 +98,6 @@ function appendInlineAnchor() {
$img_object.attr('src', img_src);
$cloned_anchor.addClass('inline_edit_anchor')
.find('span.sep, a:last').remove().end()
.find('a').attr('href', '#')
.find('span')
.text(' ' + PMA_messages['strInlineEdit'])
@@ -110,8 +108,8 @@ function appendInlineAnchor() {
$('#rowsDeleteForm').find('thead, tbody').find('th').each(function() {
var $this_th = $(this);
if ($this_th.attr('colspan') == 3) {
$this_th.attr('colspan', '4')
if ($this_th.attr('colspan') == 4) {
$this_th.attr('colspan', '5')
}
});
}