Sha256: 49ac8ab5fdd1f7b3ec11b36283b0f26304609628679b19260f6f40e91785df8d

Contents?: true

Size: 821 Bytes

Versions: 29

Compression:

Stored size: 821 Bytes

Contents

/*   RSence
 *   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.
  ***/

var//RSence.Controls
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

29 entries across 29 versions & 2 rubygems

Version Path
rsence-2.0.9.22.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.9.21.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.9.20.pre js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.8.19 js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.4.15 js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.3.14 js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.2.13 js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.1.12 js/controls/dialogs/confirm_sheet/confirm_sheet.js
rsence-2.0.0.11 js/controls/dialogs/confirm_sheet/confirm_sheet.js