From 3a754133dbc138390503341fd2e9beba3e43aa4b Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Fri, 27 Jan 2012 12:05:17 -0800 Subject: Merged old FileIO --- .../new-file-location.reel/new-file-location.css | 23 +++++--- .../new-file-location.reel/new-file-location.html | 61 +++++++++++++++++++--- .../new-file-location.reel/new-file-location.js | 30 ++++++++++- 3 files changed, 100 insertions(+), 14 deletions(-) mode change 100644 => 100755 js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.css mode change 100644 => 100755 js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.html mode change 100644 => 100755 js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.js (limited to 'js/io/workflow/newFileDialog/new-file-location.reel') diff --git a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.css b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.css old mode 100644 new mode 100755 index 1e857874..7f11c225 --- a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.css +++ b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.css @@ -38,13 +38,22 @@ padding-bottom: 5px; } -.newfileLocation .locationSelection span{ - padding-right: 5px; +.newfileLocation .locationSelection input{ + margin-left: 5px; white-space: nowrap; } -.newfileLocation .findDirectory{ - width: 17px; - height:17px; - vertical-align: bottom; -} \ No newline at end of file +.newfileLocation .templatePx{ + padding-left: 5px; + white-space: nowrap; +} + +.newfileLocation .nameText{ + margin-right:31px; +} + +.newfileLocation .hottextunit{ + float: none; + display: inline; +} + diff --git a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.html b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.html old mode 100644 new mode 100755 index 1be4e485..7c271511 --- a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.html +++ b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.html @@ -10,12 +10,61 @@ - - -
-
-
-
-
-
NAME:
-
- DIRECTORY: -
-
-
-
WIDTH:
-
HEIGHT:
-
-
- - \ No newline at end of file diff --git a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.js b/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.js deleted file mode 100755 index 805b44a4..00000000 --- a/js/io/workflow/newFileDialog/new-file-location.reel/new-file-location.js +++ /dev/null @@ -1,56 +0,0 @@ -/* -This file contains proprietary software owned by Motorola Mobility, Inc.
-No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
-(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. -
*/ - -var Montage = require("montage/core/core").Montage; -var Component = require("montage/ui/component").Component; -var newFileWorkflowControllerModule = require("js/io/workflow/newFileDialog/new-file-workflow-controller"); - -var NewFileLocation = exports.NewFileLocation = Montage.create(Component, { - - templateHeight:{ - enumerable: true, - value:"25 px" - }, - - templateWidth:{ - enumerable: true, - value:"25 px" - }, - - willDraw: { - enumerable: false, - value: function() {} - }, - - draw: { - enumerable: false, - value: function() {} - }, - - didDraw: { - enumerable: false, - value: function() { - var that=this; - - this.fileInputField.selectDirectory = true; - - this.newFileName.addEventListener("blur", function(evt){that.handleNewFileNameOnblur(evt);}, false); - } - - }, - - handleNewFileNameOnblur:{ - value:function(evt){ - if(this.newFileName.value !== ""){ - var newFileNameSetEvent = document.createEvent("Events"); - newFileNameSetEvent.initEvent("newFileNameSet", false, false); - newFileNameSetEvent.newFileName = this.newFileName.value; - this.eventManager.dispatchEvent(newFileNameSetEvent); - } - } - } - -}); \ No newline at end of file -- cgit v1.2.3