Ignore:
Timestamp:
01/09/12 14:59:28 (13 years ago)
Author:
fpvanagthoven
Message:

Laatste versies van alles!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/js/sequencerScripts.js

    r191 r218  
    7373        // settings fields first
    7474        initSequencer();
    75         debugger;
     75       
    7676        switch (sequencer.settings.content.contentType.toLowerCase()) {
    7777            case "session":
     
    414414       
    415415    newAjaxRequest(c, u, function(result) {
     416        debugger;
    416417        sequencer.survey.questions.uids.push(removeNL(result.responseText));
    417418        sequencer.survey.questions.upToDate.push(false);
     
    565566        removeButton.className = "smallButton";
    566567        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();
    568571        }, false);
    569572        removeButton.addEventListener("click", function(e){
     
    629632}
    630633
     634
     635
     636
     637
    631638// general functions and user actions
    632639
     
    668675                break;
    669676        }
    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*/;
    671678        sequencer.state.selectedObject.uid = uid;
    672679        sequencer.state.selectedObject.index = null;  //Don't know how to do this yet.
Note: See TracChangeset for help on using the changeset viewer.