From c62273126004f057de40ce91ecda5606643f4c92 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Fri, 20 Apr 2012 16:37:47 -0700 Subject: reverting old template to current working status. New template work. Signed-off-by: Valerio Virgillito --- js/document/models/base.js | 4 ++++ js/document/models/html.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'js/document/models') diff --git a/js/document/models/base.js b/js/document/models/base.js index 96156e64..8925fc40 100755 --- a/js/document/models/base.js +++ b/js/document/models/base.js @@ -21,6 +21,10 @@ exports.BaseDocumentModel = Montage.create(Montage, { file: { value: null }, + + _name: { + value: null + }, //////////////////////////////////////////////////////////////////// // njdata: { diff --git a/js/document/models/html.js b/js/document/models/html.js index 5882d389..ff57454b 100755 --- a/js/document/models/html.js +++ b/js/document/models/html.js @@ -7,10 +7,10 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot //////////////////////////////////////////////////////////////////////// // var Montage = require("montage/core/core").Montage, - TextDocumentModel = require("js/document/models/text").TextDocumentModel; + BaseDocumentModel = require("js/document/models/base").BaseDocumentModel; //////////////////////////////////////////////////////////////////////// // -exports.HtmlDocumentModel = Montage.create(TextDocumentModel, { +exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, { //////////////////////////////////////////////////////////////////// // hasTemplate: { -- cgit v1.2.3