diff options
author | Ananya Sen | 2012-02-03 18:04:26 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-03 18:04:26 -0800 |
commit | 45cfffd9261ab1aa714554c584f0d0d8fe627c91 (patch) | |
tree | 74968ff98a59c6760cfb0a3854c8181877fdaff1 /js/io/document/html-document.js | |
parent | 1daf146c849a0a8dbd2b61b14218c9a39bdee3a7 (diff) | |
download | ninja-45cfffd9261ab1aa714554c584f0d0d8fe627c91.tar.gz |
allow to open html file in design view,
integrated file open with io mediator
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/document/html-document.js')
-rwxr-xr-x | js/io/document/html-document.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/io/document/html-document.js b/js/io/document/html-document.js index 24d4e7e4..da1bbe4a 100755 --- a/js/io/document/html-document.js +++ b/js/io/document/html-document.js | |||
@@ -216,8 +216,9 @@ var HTMLDocument = exports.HTMLDocument = Montage.create(baseDocumentModule.Base | |||
216 | value: function(doc, uuid, iframe, callback) { | 216 | value: function(doc, uuid, iframe, callback) { |
217 | // Shell mode is not used anymore | 217 | // Shell mode is not used anymore |
218 | //if(!window.IsInShellMode()) { | 218 | //if(!window.IsInShellMode()) { |
219 | 219 | if(!doc.name){doc.name = "index-cloud"}; | |
220 | this.init("index-cloud", this._cloudTemplateUri, doc.type, iframe, uuid, callback); | 220 | if(!doc.uri){doc.uri = this._cloudTemplateUri}; |
221 | this.init(doc.name, doc.uri, doc.type, iframe, uuid, callback); | ||
221 | /* | 222 | /* |
222 | } else { | 223 | } else { |
223 | var tmpurl = doc.uri.split('\\'); | 224 | var tmpurl = doc.uri.split('\\'); |