Created
December 10, 2010 03:57
-
-
Save hvgotcodes/735746 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
popup: function() { | |
this.set('currentView', this.getPath('pane.contentView.input1')); | |
this.notifyPropertyChange('currentView'); | |
this._previousView = this.getPath('pane.contentView.input1'); | |
sc_super(); | |
}, | |
remove: function() { | |
this.disableAnimation(); | |
this.adjust('opacity', 1); | |
this.enableAnimation(); | |
sc_super(); | |
var children = this.getPath('contentView.childViews'); | |
children.forEach(function(view) { | |
view.$().removeClass('disabled'); | |
view.set('isEnabled', YES); | |
view.set('isVisible', YES); | |
}); | |
var cv = this.get('currentView'); | |
if (cv) cv.$().removeClass('input-highlight'); | |
if (this._cellView) this._cellView.removeInputs(); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment