Use css pseudo-classes instead of cycle("odd", "even") (#15361).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16249 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-01-25 11:44:12 +00:00
parent 1eee6b3a30
commit 9814dcf231
43 changed files with 57 additions and 62 deletions

View File

@@ -697,10 +697,6 @@ function beforeShowDatePicker(input, inst) {
type: 'put',
dataType: 'script',
data: data,
success: function(data){
sortable.children(":even").removeClass("even").addClass("odd");
sortable.children(":odd").removeClass("odd").addClass("even");
},
error: function(jqXHR, textStatus, errorThrown){
alert(jqXHR.status);
sortable.sortable("cancel");