             Backbone.history.loadUrl(Backbone.history.fragment)
     return
   refreshAlias: (event) ->
-    console.log 'RefreshAlias'
-    $('input#node_alias').val(event.target.value.replace(/[^a-z0-9]/gi,'_'))
-  bindEvent: ->
-    if $('input#node_alias').val() is ''
-      @events['keyup input#node_name'] = "refreshAlias"
+    if @aliasIsRefreshable
+      $('input#node_alias').val(event.target.value.replace(/[^a-z0-9]/gi,'_'))
 )

    $("[data-prototype]").each ->
      PO.formPrototypes.addPrototype $(this)
      return
    @addEventOnForm()
    @bindEvent()
  addEventOnForm: ->
    viewContext = this
    $("form", @$el).on "submit", (e) ->

adminFormView = Backbone.View.extend(
  el: '#OrchestraBOModal'
  events:
    'keyup input#node_name' : 'refreshAlias'
  initialize: (options) ->
    @url = options.url
    @aliasIsRefreshable = false
    @method = if options.method then options.method else 'GET'
    _.bindAll this, "refreshAlias"
    @call()
    return
  call: ->
