summaryrefslogtreecommitdiffstats
path: root/public/javascripts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-03 09:15:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-03 09:15:31 +0000
commit48f72a3d15def45352c0be4e7f27b2ba3852f949 (patch)
tree728515a1a7a51bac340ed908582780411e4f4a07 /public/javascripts
parent3e86a2ab52bcadea6ed92522a3d3e88b6dc4aa30 (diff)
downloadredmine-48f72a3d15def45352c0be4e7f27b2ba3852f949.tar.gz
redmine-48f72a3d15def45352c0be4e7f27b2ba3852f949.zip
Use css pseudo-classes instead "odd", "even" classes (#15361).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16050 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/application.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index f38b69b3c..8d703ade1 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -685,10 +685,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");