aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/document-controller.js
Commit message (Collapse)AuthorAge
* adding a viewIdentifier to the model to enable design/code switchValerio Virgillito2012-07-24
| | | | | | | | | Todo: - Cleanup and remove listeners - Finish stage reload - Add remaining bindings. Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* parameterize the parentContainer for text documentAnanya Sen2012-07-18
| | | | Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
* New: Added switching view functionality to document UIJose Antonio Marquez2012-07-16
| | | | This now let's you switch between code and design views in all documents opened that support design view. Code view for these documents is currently unsupported, so this is just to hook up the UI to the new methods. Code view will be added next.
* BSD LicenseKris Kowal2012-07-09
|
* Remove trailing spacesKris Kowal2012-07-06
|
* Expand tabsKris Kowal2012-07-06
|
* Update copyright boilerplateKris Kowal2012-07-06
|
* fixing the save asValerio Virgillito2012-06-05
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* fixing the save asValerio Virgillito2012-06-05
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* Fixing saveAll from menuJose Antonio Marquez2012-06-04
| | | | This was broken, not sure when it broke, but working again.
* fixed the 3d grid when switching documents and some cleanupValerio Virgillito2012-06-01
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* fixing the switching between various types of documentsValerio Virgillito2012-05-31
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* removing the last closeDocument handlerValerio Virgillito2012-05-31
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* fixing the close and saveValerio Virgillito2012-05-31
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* fixing selection when switching documentsValerio Virgillito2012-05-31
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* fixing the closing of documentsValerio Virgillito2012-05-30
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* opening code view documentsValerio Virgillito2012-05-30
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* Fixing the close document.Valerio Virgillito2012-05-30
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* cleanup and handling the document views in the document controller for now.Valerio Virgillito2012-05-29
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* document bindings phase 1Valerio Virgillito2012-05-29
| | | | | | | | - using array controller to bind the current document to all ninja components - removed open document event - removed references to the document controller Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* Merge branch 'refs/heads/Ninja-DOM-Architecture' into DocumentJose Antonio Marquez2012-05-24
|\ | | | | | | | | | | | | Conflicts: js/document/document-html.js js/helper-classes/3D/view-utils.js js/stage/stage.reel/stage.js
| * fixing the styles manager to open code view files and closing the last document.Valerio Virgillito2012-05-23
| | | | | | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
| * Merge pull request #252 from ananyasen/dom-architectureValerio Virgillito2012-05-23
| |\ | | | | | | bug fixes
| | * Merge branch 'refs/heads/master-dom-architecture' into dom-architectureAnanya Sen2012-05-22
| | |\
| | * | - don't redraw stage for code document - fixes a switching bugAnanya Sen2012-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix for ctrl+S for code document - disallow opening the panels while in code document Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
* | | | Some clean up, adding commentsJose Antonio Marquez2012-05-24
| | | | | | | | | | | | | | | | This obviously needs much work and reworking...
* | | | Renaming variable as it will now be usedJose Antonio Marquez2012-05-24
| | | | | | | | | | | | | | | | This is no longer a temp fix, it might be a permanent boolean to open/close web-request API gates.
* | | | Cleaning up referencing to 'documentRoot' and '_document'Jose Antonio Marquez2012-05-24
| | | | | | | | | | | | | | | | Moved to reference new model in DOM architecture rework. This should not affect anything, just moving the references, and also the setting to the render methods in the design view.
* | | | Merge branch 'refs/heads/Ninja-DOM-Architecture' into DocumentJose Antonio Marquez2012-05-23
|\| | |
| * | | improve the closing of documents.Valerio Virgillito2012-05-23
| | |/ | |/| | | | | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* | | Merge branch 'refs/heads/Ninja-DOM-Architecture' into DocumentJose Antonio Marquez2012-05-22
|\| |
| * | fixing the selection in multiple documents and some code cleanupValerio Virgillito2012-05-22
| |/ | | | | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* / Adding redirect from app folder in templatesJose Antonio Marquez2012-05-22
|/ | | | This doesn't resolve the issue of XHR requests made in Montage.
* fixing a few document switching issues.Valerio Virgillito2012-05-22
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* - fixed save asAnanya Sen2012-05-21
| | | | Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
* - added opening multiple code and design view documentsAnanya Sen2012-05-21
| | | | | | | - switching between multiple code and design view documents - Note: closing of documents, when multiple documents are open, is not yet implemented Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
* save for code view documents in the new dom architectureAnanya Sen2012-05-18
| | | | Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
* Merge branch 'refs/heads/master-dom-architecture' into dom-architectureAnanya Sen2012-05-18
|\
| * Merge branch 'dom-architecture' of ↵Valerio Virgillito2012-05-18
| |\ | | | | | | | | | github.com:Motorola-Mobility/ninja-internal into dom-architecture
| | * Fixing save logicJose Antonio Marquez2012-05-18
| | | | | | | | | | | | Moved dirty marker clearing code to model.
| * | fixing the color chip for the document rootValerio Virgillito2012-05-18
| |/ | | | | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
| * fixed a switch documents bug where the layout was getting called before ↵Valerio Virgillito2012-05-18
| | | | | | | | | | | | setting the container. Signed-off-by: Valerio Virgillito <valerio@motorola.com>
| * Fixing the save as pathsValerio Virgillito2012-05-18
| | | | | | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
| * enabling basic document switchingValerio Virgillito2012-05-18
| | | | | | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
| * multiple documents - enable opening multiple documents and initial switchingValerio Virgillito2012-05-17
| | | | | | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* | integrated open code view document in new dom architectureAnanya Sen2012-05-18
|/ | | | Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
* document controller and stage view code cleanupValerio Virgillito2012-05-16
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* code cleanup and refactoring of the document controller and stage viewValerio Virgillito2012-05-16
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* clearing the needs save flag on save.Valerio Virgillito2012-05-16
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* removing first draw on the component eventValerio Virgillito2012-05-16
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>