tests/dummy/app/controllers/index.js in bootstrap-bookingsync-sass-1.0.0.beta11 vs tests/dummy/app/controllers/index.js in bootstrap-bookingsync-sass-1.0.0.beta12
- old
+ new
@@ -19,13 +19,12 @@
// Used for modal
isShowingModal: false,
actions: {
toggleModal: function() {
this.toggleProperty('isShowingModal');
- if (this.get('isShowingModal') === true) {
- $('body').addClass('modal-open');
- } else {
- $('body').removeClass('modal-open');
- }
+ },
+
+ sampleAction: function() {
+ alert("Sample action");
}
}
});