Skip to content

Commit

Permalink
Merge remote-tracking branch 'ethan/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerry Gleason committed Dec 29, 2012
2 parents 8bd112c + b28e5b6 commit 9308c0d
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 22 deletions.
28 changes: 18 additions & 10 deletions app/assets/javascripts/wagn_pack.js.coffee
Expand Up @@ -112,11 +112,6 @@ $(window).ready ->
$('.ui-menu-icon').live 'tap', (event)->
$(this).closest('li').trigger('mouseenter')
event.preventDefault()



# alert('prevented?')
#wagn.openMenu this


#pointer pack
Expand Down Expand Up @@ -146,10 +141,6 @@ $(window).ready ->
slot.find('.perm-group input:checked').attr('checked', false)
slot.find('.perm-indiv input').val('')

#wagn_org pack (for now)
$('.shade-view h1').live 'click', ->
$(this).slot().find('.shade-content').slideToggle 1000

# rstar pack
$('body').delegate '.rule-submit-button', 'click', ->
f = $(this).closest('form')
Expand Down Expand Up @@ -178,10 +169,25 @@ $(window).ready ->
$(wagn.padform)[0].submit()
false

#wagn_org pack (for now)
$('.shade-view h1').live 'click', ->
toggleThis = $(this).slot().find('.shade-content').is ':hidden'
toggleShade $(this).closest('.pointer-list').find('.shade-content:visible').parent()
if toggleThis
toggleShade $(this).slot()


if firstShade = $('.shade-view h1')[0]
$(firstShade).trigger 'click'


$(document).bind 'mobileinit', ->
$.mobile.autoInitializePage = false
$.mobile.ajaxEnabled = false


toggleShade = (shadeSlot) ->
shadeSlot.find('.shade-content').slideToggle 1000
shadeSlot.find('.ui-icon').toggleClass 'ui-icon-triangle-1-e ui-icon-triangle-1-s'

permissionsContent = (ed) ->
return '_left' if ed.find('#inherit').attr('checked')
Expand Down Expand Up @@ -249,3 +255,5 @@ navbox_select = (event, ui) ->
window.location = wagn.rootPath + ui.item.href

$(this).attr('disabled', 'disabled')


Binary file not shown.
Binary file modified public/assets/application-all.css.gz
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file modified public/assets/application-print.css.gz
Binary file not shown.
10 changes: 5 additions & 5 deletions public/assets/application.js

Large diffs are not rendered by default.

Binary file modified public/assets/application.js.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions public/assets/manifest.yml
Expand Up @@ -61,8 +61,8 @@ wait.gif: wait-fcacc98c2777bec05f82da6258e1378b.gif
wait/index.gif: wait-fcacc98c2777bec05f82da6258e1378b.gif
wait_lg.gif: wait_lg-397bf884dd6fafbdd31e51c0f7c328d3.gif
wait_lg/index.gif: wait_lg-397bf884dd6fafbdd31e51c0f7c328d3.gif
application.js: application-22f43018efeed57b91185ae107020c52.js
application/index.js: application-22f43018efeed57b91185ae107020c52.js
application.js: application-b6a7998d3ce329e5cc21c712cff0cca2.js
application/index.js: application-b6a7998d3ce329e5cc21c712cff0cca2.js
application-all.css: application-all-08d99b895fb180eba1c44ce06f328e78.css
application-all/index.css: application-all-08d99b895fb180eba1c44ce06f328e78.css
application-print.css: application-print-2ab614fbd34fa2be0e616bbdf0d2318b.css
Expand Down
Binary file modified public/assets/tinymce-025f3a2beeeb18ce2b5f2dafdb14eb86.js.gz
Binary file not shown.
Binary file modified public/assets/tinymce.js.gz
Binary file not shown.

0 comments on commit 9308c0d

Please sign in to comment.