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

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

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

      if yorient == 'top'
        top += height
      else
        top -= widgetHeight + parseInt(@.$widget.css('padding-top'), 10)

      @.$widget.css {
        top : top
