 
     update: (ignoreWidget) ->
       @updateElement()
-      this.updateWidget() if !ignoreWidget
+      @updateWidget() if !ignoreWidget
 
     updateElement: () ->
       @.$element.val(@getText()).change()

    _init: () ->
      self = @
      @.$element.on {
        'click.textdropdown': $.proxy(this.showWidget, this)
        'blur.textdropdown': $.proxy(this.blurElement, this)
      }

      @.$widget = $(@getTemplate()).on('click', $.proxy(@widgetClick, @))

      @.$widget.removeClass('textdropdown-orient-top textdropdown-orient-bottom textdropdown-orient-right textdropdown-orient-left')

      if @orientation.x != 'auto'
        @picker.addClass('textdropdown-orient-' + @orientation.x)
        if @orientation.x == 'right'
          left -= widgetWidth - width
      else
