Ignore:
Timestamp:
01/13/12 11:30:11 (13 years ago)
Author:
jkraaijeveld
Message:

Made most functionality from the demo branch work with new database.

File:
1 edited

Legend:

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

    r218 r230  
    7373        // settings fields first
    7474        initSequencer();
    75        
     75        debugger;
    7676        switch (sequencer.settings.content.contentType.toLowerCase()) {
    7777            case "session":
     
    414414       
    415415    newAjaxRequest(c, u, function(result) {
    416         debugger;
    417416        sequencer.survey.questions.uids.push(removeNL(result.responseText));
    418417        sequencer.survey.questions.upToDate.push(false);
     
    566565        removeButton.className = "smallButton";
    567566        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!');
    571568        }, false);
    572569        removeButton.addEventListener("click", function(e){
     
    632629}
    633630
    634 
    635 
    636 
    637 
    638631// general functions and user actions
    639632
     
    675668                break;
    676669        }
    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*/;
    678671        sequencer.state.selectedObject.uid = uid;
    679672        sequencer.state.selectedObject.index = null;  //Don't know how to do this yet.
Note: See TracChangeset for help on using the changeset viewer.