Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ->
- map = new MappingInterface "#mapping-interface"
- input_timeout = null
- $("[type=reset]").click (e) ->
- e.preventDefault()
- @closest("form").resetForm()
- $('#Form_MapSearchForm').entwine
- toggleLoading: ->
- map.sidebar.addClass 'loading'
- @find('select, input').attr 'disabled',true
- refresh: (data) ->
- map.sidebar.removeClass('loading').html data.sidebar
- @html $(data.form).html()
- map.map.data('jMapping').update()
- map.showCheckedFeatures()
- resetForm: ->
- @find('select, input').val('').trigger "change"
- @submit()
- onsubmit: (e) ->
Add Comment
Please, Sign In to add comment