Sha256: 43bd1d3c0a3478eed042d668146194e5ad7bf5072f88df011b136fdd57a722c6

Contents?: true

Size: 813 Bytes

Versions: 7

Compression:

Stored size: 813 Bytes

Contents

/*   Riassence Framework
 *   Copyright 2009 Riassence Inc.
 *   http://riassence.com/
 *
 *   You should have received a copy of the GNU General Public License along
 *   with this software package. If not, contact licensing@riassence.com
 */

/*** = Description
  ** Simple confirm sheet control. Acts like HAlertSheet but has a cancel 
  ** button as well.
  ***/

HConfirmSheet = HAlertSheet.extend({
/** = Description
  * Creates a cancel button.
  *
  **/
  alertButtons: function(){
    this.cancelButton = HClickValueButton.extend({
      click: function(){
        this.setValue( -1 );
      }
    }).nu(
      [ null, null, 60, 23, 76, 8 ],
      this, {
        label: 'Cancel',
        valueObj: this.valueObj,
        events: {
          click: true
        }
      }
    );
    this.base();
  }
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rsence-2.0.0.5.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.0.4.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.0.3.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.0.2.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.0.1.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.0.0.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.0.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js