Guest User

Untitled

a guest
Jul 16th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. popup: function() {
  2.  
  3.  
  4. this.set('currentView', this.getPath('pane.contentView.input1'));
  5. this.notifyPropertyChange('currentView');
  6. this._previousView = this.getPath('pane.contentView.input1');
  7. sc_super();
  8.  
  9. },
  10.  
  11. remove: function() {
  12.  
  13.  
  14. this.disableAnimation();
  15. this.adjust('opacity', 1);
  16. this.enableAnimation();
  17.  
  18. sc_super();
  19. var children = this.getPath('contentView.childViews');
  20. children.forEach(function(view) {
  21. view.$().removeClass('disabled');
  22. view.set('isEnabled', YES);
  23. view.set('isVisible', YES);
  24. });
  25.  
  26. var cv = this.get('currentView');
  27. if (cv) cv.$().removeClass('input-highlight');
  28. if (this._cellView) this._cellView.removeInputs();
  29. },
Add Comment
Please, Sign In to add comment