~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/javascript/choiceedit/choiceedit.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-09-02 01:00:44 UTC
  • mfrom: (13841.2.2 ChoiceSource-flexibility)
  • Revision ID: launchpad@pqm.canonical.com-20110902010044-513iz7x1inueimn8
[r=wallyworld][bug=839190] Make the ChoiceSource js widget slightly
 more reusable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
 
147
147
    clickable_content: {
148
148
      value: true
 
149
    },
 
150
 
 
151
    zIndex: {
 
152
      value: 1000
149
153
    }
150
154
};
151
155
 
158
162
         * @preventable _saveData
159
163
         */
160
164
        this.publish(SAVE);
161
 
 
162
 
        var editicon = this.get('editicon');
163
 
        editicon.original_src = editicon.get("src");
164
165
    },
165
166
 
166
167
    /**
245
246
            title:          this.get("title"),
246
247
            items:          this.get("items"),
247
248
            value_location: this.get("value_location"),
248
 
            progressbar:    false
 
249
            progressbar:    false,
 
250
            zIndex:         this.get("zIndex")
249
251
        });
250
252
 
251
253
        var that = this;