Sha256: 9255c31ae4b9f999261e46b7291420ea38adefa5e4953556f53e2703992d7fc3

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

Ext.define('TM.view.callback.CheckboxCombo', {
  extend: 'Ext.ux.form.CheckboxListCombo',
  xtype: 'callback_checkboxcombo',

  getSubmitValue: function() {
    var callbacks = [];

    Ext.Array.forEach(this.value || [], function(c, i) {
      callbacks.push({
        callback_id: c,
        callback_type: Ext.getStore('TM.store.Callbacks').getAt(0).get('class_name')
      });
    });

    return callbacks;
  }
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
task-manager-0.1.7 app/assets/javascripts/task-manager/extjs/app/view/callback/CheckboxCombo.js
task-manager-0.1.6 app/assets/javascripts/task-manager/extjs/app/view/callback/CheckboxCombo.js
task-manager-0.1.5 app/assets/javascripts/task-manager/extjs/app/view/callback/CheckboxCombo.js