[hooks.js] unbreak bucket details editing under only-web
[hooks.js] unbreak bucket details editing under only-web

Change-Id: I7bb398d67e066af4ea9aaebf9d10315b6190bea2
Reviewed-on: http://review.northscale.com/1889
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

nimishzynga/ns_server,mschoch/ns_server,ceejatec/ns_server,vzasade/ns_server,vzasade/ns_server,daverigby/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,membase/ns_server,daverigby/ns_server,vzasade/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,vzasade/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,pavel-blagodov/ns_server,t3rm1n4l/ns_server,membase/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,daverigby/ns_server,ceejatec/ns_server,mschoch/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,membase/ns_server,mschoch/ns_server,mschoch/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,ceejatec/ns_server,nimishzynga/ns_server,mschoch/ns_server,ceejatec/ns_server,membase/ns_server,mschoch/ns_server,daverigby/ns_server