app/assets/javascripts/manage/table_checkboxes.js.coffee in manage-1.3.30 vs app/assets/javascripts/manage/table_checkboxes.js.coffee in manage-1.3.31
- old
+ new
@@ -1,12 +1,12 @@
-class TableCheckboxes
- constructor: (el) ->
- $el = $(el)
- $mainContainer = $el.closest('table')
-
- $el.on 'click', (event, element)->
- check = if $el.is(':checked') then true else false
-
- $mainContainer.find('.rs').each ->
- $(@).prop('checked', check)
-
+class TableCheckboxes
+ constructor: (el) ->
+ $el = $(el)
+ $mainContainer = $el.closest('table')
+
+ $el.on 'click', (event, element)->
+ check = if $el.is(':checked') then true else false
+
+ $mainContainer.find('.rs').each ->
+ $(@).prop('checked', check)
+
Handlers.register 'TableCheckboxes', TableCheckboxes
\ No newline at end of file