Changeset 426 for Dev/trunk/client/qed/pages
- Timestamp:
- 03/13/13 17:07:58 (12 years ago)
- Location:
- Dev/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk
- Property svn:ignore
-
old new 1 1 data 2 2 nbproject 3 node_modules
-
- Property svn:ignore
-
Dev/trunk/client
- Property svn:externals
-
old new 1 dojo http://svn.dojotoolkit.org/src/tags/release-1.8. 0/dojo2 dijit http://svn.dojotoolkit.org/src/tags/release-1.8. 0/dijit3 dojox http://svn.dojotoolkit.org/src/tags/release-1.8. 0/dojox4 util http://svn.dojotoolkit.org/src/tags/release-1.8. 0/util1 dojo http://svn.dojotoolkit.org/src/tags/release-1.8.3/dojo 2 dijit http://svn.dojotoolkit.org/src/tags/release-1.8.3/dijit 3 dojox http://svn.dojotoolkit.org/src/tags/release-1.8.3/dojox 4 util http://svn.dojotoolkit.org/src/tags/release-1.8.3/util
-
- Property svn:externals
-
Dev/trunk/client/qed/pages/question.js
r420 r426 54 54 Content.notify(err,'error'); 55 55 }); 56 evt && event.stop( evt );56 if ( evt ) { event.stop( evt ); } 57 57 return false; 58 58 }, -
Dev/trunk/client/qed/pages/response.js
r420 r426 62 62 this._getAnswersAndSaveResponse(); 63 63 this.content.domNode.innerHTML = "<div>Thanks for filling in the survey.</div>"; 64 e && event.stop(e);64 if ( e ) { event.stop(e); } 65 65 return false; 66 66 }, … … 68 68 this._getAnswersAndSaveResponse(); 69 69 this.content.domNode.innerHTML = "<div>To continue with this survey later, just save the URL in the location bar and revisit it later. Your answers will still be there.</div>"; 70 e && event.stop(e);70 if ( e ) { event.stop(e); } 71 71 return false; 72 72 }, 73 73 _ignoreEvent: function(e) { 74 e && event.stop(e);74 if ( e ) { event.stop(e); } 75 75 return false; 76 76 } -
Dev/trunk/client/qed/pages/survey.js
r420 r426 43 43 itemActions: { 44 44 "Info": { 45 callback: function(item){ item.description && alert(item.description); }, 45 callback: function(item){ 46 if ( item.description ) { alert(item.description); } 47 }, 46 48 icon: "Inspect", 47 49 description: "Show item description" -
Dev/trunk/client/qed/pages/surveys.js
r422 r426 68 68 refreshDrafts: function() { 69 69 this.draftsContainer.set('content',''); 70 when(store.query("_design/surveys/_view/drafts") 71 ,lang.hitch(this,function(surveys){70 when(store.query("_design/surveys/_view/drafts"), 71 lang.hitch(this,function(surveys) { 72 72 this.draftsTab.set('title','Drafts ('+surveys.length+')'); 73 73 array.forEach(surveys,function(survey){ … … 110 110 refreshPublished: function() { 111 111 this.publishedContainer.set('content',''); 112 when(store.query("_design/surveys/_view/published") 113 ,lang.hitch(this,function(surveys){112 when(store.query("_design/surveys/_view/published"), 113 lang.hitch(this, function(surveys) { 114 114 this.publishedTab.set('title','Published ('+surveys.length+')'); 115 115 array.forEach(surveys,function(survey){ … … 138 138 refreshRuns: function() { 139 139 this.runsContainer.set('content',''); 140 when(store.query("_design/default/_view/by_type",{key:'SurveyRun'}) 141 ,lang.hitch(this,function(surveyRuns){140 when(store.query("_design/default/_view/by_type",{key:'SurveyRun'}), 141 lang.hitch(this,function(surveyRuns){ 142 142 this.runsTab.set('title','Runs ('+surveyRuns.length+')'); 143 143 array.forEach(surveyRuns,function(surveyRun){
Note: See TracChangeset
for help on using the changeset viewer.