- Timestamp:
- 04/24/13 21:31:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/client/qed/model/widgets/QuestionEditorPreviewItem.js
r439 r440 10 10 "dojo/dom-class", 11 11 "dojo/dom-geometry", 12 "dojo/dom-style", 12 13 "dojo/on", 13 14 "dojo/text!./templates/QuestionEditorPreviewItem.html" 14 ], function(QuestionWidgetFactory, _Container, _TemplatedMixin, _WidgetBase, _WidgetsInTemplateMixin, declare, fx, lang, domClass, domGeom, on, template) {15 ], function(QuestionWidgetFactory, _Container, _TemplatedMixin, _WidgetBase, _WidgetsInTemplateMixin, declare, fx, lang, domClass, domGeom, domStyle, on, template) { 15 16 return declare([_WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, _Container], { 16 17 templateString: template, … … 105 106 duration: this.foldDuration[0], 106 107 properties: { 107 height: 1 108 height: 1 108 109 }, 109 110 onEnd: lang.hitch(this, function(){ … … 118 119 duration: this.foldDuration[1], 119 120 properties: { 120 height: this.previousContentHeight 121 height: this.previousContentHeight 121 122 }, 122 123 onEnd: lang.hitch(this, function(){ 123 124 domClass.remove(this.domNode, "fold"); 125 domStyle.set(this.innerNode, 'height', 'auto'); 124 126 this.animation = null; 125 127 })
Note: See TracChangeset
for help on using the changeset viewer.