summaryrefslogtreecommitdiffstats
path: root/public/javascripts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-25 11:44:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-25 11:44:12 +0000
commit9814dcf231b50bd1d8e712db8534051ff8a8c8c6 (patch)
treedb40fb794b2ed5a87477c6d026e98123d3425b39 /public/javascripts
parent1eee6b3a30dfa2e0b7c9aaa5db3da3b3c9965b19 (diff)
downloadredmine-9814dcf231b50bd1d8e712db8534051ff8a8c8c6.tar.gz
redmine-9814dcf231b50bd1d8e712db8534051ff8a8c8c6.zip
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
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 6ad6ac035..c99e35ab5 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -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");