Changeset 494
- Timestamp:
- 03/09/14 22:03:19 (11 years ago)
- Location:
- Dev/trunk/src
- Files:
-
- 5 added
- 4 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client
- Property svn:ignore
-
old new 1 1 2 ### begin grunt-svn-ignore managed ignores3 ### edits will be overwritten when grunt svn-ignore is run4 session.js5 ### end grunt-svn-ignore managed ignores
-
- Property svn:ignore
-
Dev/trunk/src/client/qed-client/css/qed.less
r443 r494 22 22 @import "ui/MainMenu.less"; 23 23 @import "ui/topbar.less"; 24 @import "ui/LoginDialog.less"; 24 25 @import "widgets/MultipleChoiceWidget.less"; 25 26 @import "widgets/lists/List.less"; -
Dev/trunk/src/client/qed-client/model/widgets/SurveyRunWidget.js
r493 r494 9 9 postCreate: function() { 10 10 var endDateBox = this.endDateBox; 11 this. startDateBox.on('change', function(value){11 this.own(this.startDateBox.on('change', function(value){ 12 12 endDateBox.constraints.min = value; 13 }) ;13 })); 14 14 }, 15 15 _getValueAttr: function() { -
Dev/trunk/src/client/qed-client/model/widgets/questions/MultipleChoiceInputConfigWidget.js
r493 r494 52 52 _getValueAttr: function() { 53 53 var value = this.inherited(arguments); 54 value.type = this.type; 54 55 value.allowMultiple = value.allowMultiple.length > 0; 55 value.type = this.type;56 56 return value; 57 }, 58 _setValueAttr: function(value) { 59 value.allowMultiple = value.allowMultiple ? ["on"] : []; 60 return this.inherited(arguments); 57 61 }, 58 62 onAddItem: function(evt) { -
Dev/trunk/src/client/qed-client/pages/index.js
r490 r494 15 15 //this.btnContentCreate.on("click",function(){ Router.go("/sessions"); }); 16 16 //this.btnContentFacilitate.on("click",function(){ Router.go("/run"); }); 17 this. btnSurveys.on("click",function(){17 this.own(this.btnSurveys.on("click",function(){ 18 18 Router.go(surveys.getCollectionPath()); 19 }) ;20 this. btnQuestions.on("click",function(){19 })); 20 this.own(this.btnQuestions.on("click",function(){ 21 21 Router.go(questions.getCollectionPath()); 22 }) ;22 })); 23 23 //this.btnApplications.on("click",function(){Router.go("/applications");}); 24 24 //this.btnDashboards.on("click",function(){ Router.go("/dashboards"); }); -
Dev/trunk/src/client/qed-client/pages/question.js
r493 r494 19 19 if ( this._started ) { return; } 20 20 this.inherited(arguments); 21 this. propertiesForm.on('change',lang.hitch(this,'_handlePropertiesChange'));22 this. contentList.on('change',lang.hitch(this,'_handleContentChange'));21 this.own(this.propertiesForm.on('change',lang.hitch(this,'_handlePropertiesChange'))); 22 this.own(this.contentList.on('change',lang.hitch(this,'_handleContentChange'))); 23 23 this._load(); 24 24 }, … … 40 40 _updateObject: function() { 41 41 var pValid = this.propertiesForm.validate(); 42 if ( pValid ) { 43 lang.mixin(this.object,this.propertiesForm.get('value')); 44 } 42 lang.mixin(this.object,this.propertiesForm.get('value')); 45 43 var cValid = this.contentList.validate(); 46 if ( cValid ) { 47 this.object.content = this.contentList.get('value'); 48 } 44 this.object.content = this.contentList.get('value'); 49 45 this._isValid = pValid && cValid; 50 46 return this._isValid; -
Dev/trunk/src/client/qed-client/pages/survey.js
r493 r494 23 23 this._setupQuestionBrowser(); 24 24 this._setupListView(); 25 this. questionList.on('change',lang.hitch(this,'_handleQuestionsChange'));25 this.own(this.questionList.on('change',lang.hitch(this,'_handleQuestionsChange'))); 26 26 this._load(); 27 27 }, -
Dev/trunk/src/client/qed-client/pages/surveyRun.js
r493 r494 26 26 if ( this._started ) { return; } 27 27 this.inherited(arguments); 28 this. surveyRunWidget.on("change",lang.hitch(this,'_onPropChange'));28 this.own(this.surveyRunWidget.on("change",lang.hitch(this,'_onPropChange'))); 29 29 this._load(); 30 30 }, … … 98 98 _updateObject: function() { 99 99 this._isValid = this.surveyRunWidget.validate(); 100 if ( this._isValid ) { 101 lang.mixin(this.object,this.surveyRunWidget.get('value')); 102 } 100 lang.mixin(this.object,this.surveyRunWidget.get('value')); 103 101 return this._isValid; 104 102 }, -
Dev/trunk/src/client/qed-client/ui
- Property svn:ignore
-
old new 1 1 2 ### begin grunt-svn-ignore managed ignores3 ### edits will be overwritten when grunt svn-ignore is run4 LoginDialogWrapper.js5 SessionMenu.js6 ### end grunt-svn-ignore managed ignores
-
- Property svn:ignore
-
Dev/trunk/src/client/qed-client/ui/templates/LoginDialogWrapper.html
r492 r494 23 23 data-dojo-props="required: true"></div> 24 24 </div> 25 <div data-dojo-type="dijit/form/Button" 26 type="submit" 27 data-dojo-attach-event="onClick:onLogin">Login</div> 25 <div> 26 <div data-dojo-type="dijit/form/Button" 27 type="submit" 28 data-dojo-attach-event="onClick:onLogin">Login</div> 29 <div class="infoField" 30 data-dojo-attach-point="infoNode"></div> 31 </div> 28 32 </form> 29 33 </div> -
Dev/trunk/src/client/qed-client/widgets/LineWithActionsWidget.js
r490 r494 21 21 postCreate: function() { 22 22 dom.setSelectable(this.domNode, false); // Text selection, has nothing to do with object selection! 23 on(this.domNode,'click',lang.hitch(this,'_onClick'));23 this.own(on(this.domNode,'click',lang.hitch(this,'_onClick'))); 24 24 }, 25 25 startup: function() { -
Dev/trunk/src/client/qed-client/widgets/ListWidget.js
r490 r494 50 50 }); 51 51 this.source = new this.container(this.domNode,sourceParams); 52 this. source.on('Drop',lang.hitch(this,'_handleChange'));52 this.own(this.source.on('Drop',lang.hitch(this,'_handleChange'))); 53 53 }, 54 54 creator: function(item, hint) { … … 68 68 } 69 69 } 70 on(nodeOrWidget,'change',lang.hitch(this,'_handleChange'));70 this.own(on(nodeOrWidget,'change',lang.hitch(this,'_handleChange'))); 71 71 var node = nodeOrWidget.domNode ? nodeOrWidget.domNode : nodeOrWidget; 72 72 if ( hint !== "avatar" && node.id !== id ) { -
Dev/trunk/src/client/qed-client/widgets/Selector.js
r477 r494 105 105 },this.selectedItemNode); 106 106 this._selectorLine.startup(); 107 this. _selectorLine.on('click',lang.hitch(this, this.onToggle));107 this.own(this._selectorLine.on('click',lang.hitch(this, 'onToggle'))); 108 108 }, 109 109 _createSource: function() { … … 210 210 }); 211 211 w.startup(); 212 w.on("click", lang.hitch(this, this._onSelect, item, w));212 this.own(w.on("click", lang.hitch(this, '_onSelect', item, w))); 213 213 return w.domNode; 214 214 }, -
Dev/trunk/src/server/util
- Property svn:ignore
-
old new 1 1 2 ### begin grunt-svn-ignore managed ignores3 ### edits will be overwritten when grunt svn-ignore is run4 couch.js5 ### end grunt-svn-ignore managed ignores
-
- Property svn:ignore
Note: See TracChangeset
for help on using the changeset viewer.