       isOn: false
 
   updateHeight: (mode)->
-    height = if mode then 320 else 154
+    height = if mode then @bigHeight else @smallHeight
     @setHeight height
 
     # Defering the centering due to a mysterious bug

        pack: "start"
      defaults:
        allowBlank: false
        xtype: "numberfield"
      items: formItems
      listeners:
        validitychange: (me, valid) =>
          this.saveButton.setDisabled(!valid)

    [@form]

  getForm: ->
    @form.getForm()

Ext.define "Muleview.view.AlertsEditor",
  extend: "Ext.window.Window"
  icon: "resources/default/images/alerts.png"
  modal: true
