Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #1400

Category None
Changed by Jo-Philipp Wich <joohnoyoudont@mein.io>
Changed at Wed 11 Sep 2019 07:25:11
Repository https://git.openwrt.org/project/luci.git
Branch master
Revision f141433f5e38153e9dfbb8b320dfa70db1a47cf2

Comments

luci-base: rpc.js: revamp error handling, add interceptor support
Add two new functions L.rpc.addInterceptor() and L.rpc.removeInterceptor()
which allow to register and remove interceptor functions which are invoked
before the rpc reply result promise is fulfilled.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Changed files