\r
initialize: (options) ->\r
@parent = options.parent\r
- @operators = options.operators\r
@target_model = options.target_model\r
@history = new Pettanr.Views.History({parent: this})\r
@listenTo(@history, 'http_get', @http_get)\r
stop: () ->\r
this.$el.dialog('close')\r
\r
+ close: () ->\r
+ @trigger('close')\r
+ \r
render: () ->\r
this.$el.html('')\r
this\r
this.$el.append(view.el)\r
\r
getter_proxy: () ->\r
- proxy = new Pettanr.PickerProxy({operators: @operators})\r
+ proxy = new Pettanr.PickerProxy({})\r
@listenTo(proxy, 'ready', @ready)\r
@listenTo(proxy, 'title', @title)\r
@listenTo(proxy, 'title', @push_history)\r