Ignore:
Timestamp:
07/27/12 14:42:38 (13 years ago)
Author:
jkraaijeveld
Message:

Created the IntegerInput? inner widget. Stores properly and allows for a lot of customization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorPreviewItem.js

    r378 r381  
    4141                                        this.editButtonNode.iconNode.className = this.editButtonNode.iconNode.className.replace("rftIconAccept", "rftIconEdit");
    4242                                        this.editButtonNode.set("label", "Edit");
     43                                        this.innerWidget.save();
    4344                                }
    4445                                else {
    4546                                        this.editButtonNode.iconNode.className = this.editButtonNode.iconNode.className.replace("rftIconEdit", "rftIconAccept");
    4647                                        this.editButtonNode.set("label", "Save");
     48                                        this.innerWidget.edit();
    4749                                }
    4850                                this._editing = !this._editing;
     
    102104                                        break;
    103105                                }*/
     106                                this.innerWidget.startup();
    104107                                this.innerWidget.placeAt(this.containerNode);
    105108                        }
Note: See TracChangeset for help on using the changeset viewer.