adsabs/bumblebee — pull request #24 by aholachek (2014-05-14 22:08:17+00:00)
Title: Romanschanges

Hi Roman,
I left any comments that I did not understand or did not implement.
I think we need some kind of better system for handling multiple requests in a row, like a queue or something (?), because sometimes when my internet is slow and I push the search button twice in a row I get the error below.

Thanks,
Alex

Error: There is already a callback for: facet=true&facet.field=property&facet.limit=15&facet.mincount=1&facet.offset=0&q=star
at BaseWidget.extend.registerCallback (http://0.0.0.0:8000/src/js/widgets/multi_callback/multi_callback_widget.js:65:17)
at PaginatedMultiCallbackWidget.extend.dispatchBasicRequest (http://0.0.0.0:8000/src/js/widgets/facet/base-facet-controller.js:109:12)
at PaginatedMultiCallbackWidget.extend.dispatchRequest (http://0.0.0.0:8000/src/js/widgets/facet/base-facet-controller.js:72:12)
at bound (http://0.0.0.0:8000/src/libs/lodash/lodash.compat.js:1005:21)
at GenericModule.extend.triggerEvents (http://0.0.0.0:8000/src/js/services/default_pubsub.js:282:63)
at GenericModule.extend.triggerHandleErrors (http://0.0.0.0:8000/src/js/services/default_pubsub.js:270:24)
at GenericModule.extend.publish (http://0.0.0.0:8000/src/js/services/default_pubsub.js:202:41)
at GenericModule.extend.start_searching (http://0.0.0.0:8000/src/js/components/query_mediator.js:46:10)
at bound (http://0.0.0.0:8000/src/libs/lodash/lodash.compat.js:1005:21)
at GenericModule.extend.triggerEvents (http://0.0.0.0:8000/src/js/services/default_pubsub.js:282:63) default_pubsub.js:291
[PubSub] Error:
Object {callback: function, context: PubSubKey, ctx: PubSubKey}

[ApiQuery, PubSubKey]