Sha256: 5f55d4f308776bcf28ad764257531bd9d8778b455c0a29d262847e302e857a51
Contents?: true
Size: 557 Bytes
Versions: 6
Compression:
Stored size: 557 Bytes
Contents
$(document).on 'ready', -> $('.filter .state-toggle').on 'change', -> active_states = $('.filter :checked') param_string = "?" active_states.each (_, state) -> param_string += "states[]=" + $(state).attr('id') + "&" window.location.href = window.location.href.replace( /[\?#].*|$/, param_string ); if $('#properties').length $('#properties').on 'click', -> params = $('#new_rocket_job_dirmon_entry').serialize() new_dirmon_path = $('#properties').data('url') + "?#{params}" window.location = new_dirmon_path
Version data entries
6 entries across 6 versions & 1 rubygems