Changeset 230 for Dev/trunk/js/sequencerScripts.js
- Timestamp:
- 01/13/12 11:30:11 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/js/sequencerScripts.js
r218 r230 73 73 // settings fields first 74 74 initSequencer(); 75 75 debugger; 76 76 switch (sequencer.settings.content.contentType.toLowerCase()) { 77 77 case "session": … … 414 414 415 415 newAjaxRequest(c, u, function(result) { 416 debugger;417 416 sequencer.survey.questions.uids.push(removeNL(result.responseText)); 418 417 sequencer.survey.questions.upToDate.push(false); … … 566 565 removeButton.className = "smallButton"; 567 566 editButton.addEventListener("click", function(e){ 568 debugger; 569 selectStep(this.parentNode.parentNode.id); 570 if (sequencer.state.editing != true) swapQuestionState(); 567 alert('Editing not yet supported!'); 571 568 }, false); 572 569 removeButton.addEventListener("click", function(e){ … … 632 629 } 633 630 634 635 636 637 638 631 // general functions and user actions 639 632 … … 675 668 break; 676 669 } 677 (type != " Question") ? ajaxInfoRequest(uid, ge("infoPanelContent"), type) : type=type /*This does nothing*/;670 (type != "survey") ? ajaxInfoRequest(uid, ge("infoPanelContent"), type) : type=type /*This does nothing*/; 678 671 sequencer.state.selectedObject.uid = uid; 679 672 sequencer.state.selectedObject.index = null; //Don't know how to do this yet.
Note: See TracChangeset
for help on using the changeset viewer.