Skip to content

Commit

Permalink
adding magic to buttons on framer [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwell committed Apr 27, 2012
1 parent fb4ad72 commit 7309114
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/app/pages/framer.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ app.views.framerControls = app.views.Base.extend({

saveFrame : function(){
this.$('button').prop('disabled', 'disabled')
this.$('button').addClass('disabled')
// this is gross hack to make this action work in the iframe version and not iframe version.
var callback = {}
var parentDoc = parent;
Expand Down
2 changes: 1 addition & 1 deletion app/assets/templates/composer-controls.jst.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id='controls-wrapper'>
<button class="done btn-primary next">Next</button>
<button class="done btn btn-primary next">Next <i class="icon-arrow-right icon-white"></i></button>
<div class="aspect-selector"/>
<div class="service-selector"/>
</div>
2 changes: 1 addition & 1 deletion app/assets/templates/framer-controls.jst.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id='controls-wrapper'>
<button class="done btn-primary">done</button>
<button class="done btn btn-success">Post <i class='icon-white icon-ok-sign'></i></button>
<div class='template-picker'></div>
</div>

0 comments on commit 7309114

Please sign in to comment.