This file contains hidden or 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
| Ups.mainPage = SC.Page.design({ | |
| // The main pane is made visible on screen as soon as your app is loaded. | |
| // Add childViews to this pane for views to display immediately on page | |
| // load. | |
| mainPane: SC.MainPane.design({ | |
| childViews: 'middleView topView bottomView'.w(), | |
| topView: SC.ToolbarView.design({ | |
| layout: { top: 0, left: 0, right: 0, height: 36 }, | |
| childViews: 'labelView addButton'.w(), |
This file contains hidden or 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
| Ups.planController = SC.TreeController.create( | |
| SC.CollectionViewDelegate, | |
| /** @scope Ups.planController.prototype */ { | |
| content: null, | |
| treeItemChildrenKey: 'actions', | |
| treeItemIsGrouped: YES, | |
| collectionViewShouldBeginDrag: function(view) { | |
| alert("HELLO!"); | |
| return NO; | |
| }, |
NewerOlder