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