Sha256: c569c2566d8b43fdff8170ac65371bf2ad65e55f6f48c60b3ee770d45da37f31

Contents?: true

Size: 597 Bytes

Versions: 7

Compression:

Stored size: 597 Bytes

Contents

$(document).ready ->
  
  $(".modal-dialog").modal({backdrop: true, keyboard: true, show: false, static: false})
  
  $(".btn.disabled").on "click", (e) ->
    e.stopPropagation()
    false

  ($ "a[data-toggle=modal]").live 'click', ->
    target = ($ @).attr('data-target')
    url = ($ @).attr('href')
    if url != "#"
      ($ target).load(url)


  $("[data-dismiss='modal']").live 'click', ->
    ($ @).closest('.modal').modal('hide')

  $("[data-toggle='popover']").popover()
  $("[data-toggle='tooltip']").tooltip()
  $("[data-tip]").tooltip({
      title: ->
        $(@).data('tip')
  })

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fullstack-admin-0.2.26 app/assets/javascripts/fullstack/admin/src/bootstrap.js.coffee
fullstack-admin-0.2.25 app/assets/javascripts/fullstack/admin/src/bootstrap.js.coffee
fullstack-admin-0.2.24 app/assets/javascripts/fullstack/admin/src/bootstrap.js.coffee
fullstack-admin-0.2.23 app/assets/javascripts/fullstack/admin/src/bootstrap.js.coffee
fullstack-admin-0.2.22 app/assets/javascripts/fullstack/admin/src/bootstrap.js.coffee
fullstack-admin-0.2.21 app/assets/javascripts/fullstack/admin/src/bootstrap.js.coffee
fullstack-admin-0.2.20 app/assets/javascripts/fullstack/admin/src/bootstrap.js.coffee