popup.js 347 B

12345678910111213141516
  1. Popup.template.events({
  2. click: function(evt) {
  3. if (evt.originalEvent) {
  4. evt.originalEvent.clickInPopup = true;
  5. }
  6. },
  7. 'click .js-back-view': function() {
  8. Popup.back();
  9. },
  10. 'click .js-close-popover': function() {
  11. Popup.close();
  12. },
  13. 'click .js-confirm': function() {
  14. this.__afterConfirmAction.call(this);
  15. }
  16. });