Ignore:
Timestamp:
08/06/12 18:41:53 (13 years ago)
Author:
hendrikvanantwerpen
Message:
  • Removed some id's from elements in templates, these give problems when a widget or page is loaded more then once (use data-*-attach-point to access the nodes).
  • Removed some unnecessary attach-* attributes from templates.
  • Fixed some event handling.
File:
1 edited

Legend:

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

    r389 r390  
    157157                }));
    158158                this._categorySelect = new ComboBox( {
    159                     id: "categoriesBox",
    160159                    name: "categories",
    161160                    store: this._categoryStore,
    162161                    searchAttr: "id"
    163                 }, "categoriesBox");
     162                }, this.categoriesBoxNode);
    164163                this._supportingWidgets.push(this._categorySelect);
    165164
     
    172171                }));
    173172                this._topicSelect = new ComboBox( {
    174                     id: "topicBox",
    175173                    name: "topic",
    176174                    store: this._topicStore,
    177175                    searchAttr: "id",
    178176                    value: topic
    179                 }, "topicBox");
     177                }, this.topicBoxNode);
    180178                this._supportingWidgets.push(this._topicSelect);
    181179            },
Note: See TracChangeset for help on using the changeset viewer.