luci-base: ui.js: add pingDevice() and awaitReconnect() functions
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Oct 2019 08:07:49 +0000 (10:07 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Oct 2019 09:53:39 +0000 (11:53 +0200)
commitf3ef2ca2eb887079328d53225fe4336c05d87697
treeda0a79e706789ae8b9e6b7821a3475d1f813083a
parent55fb53e995eb869ed4e8559ccff3daf8110d75aa
luci-base: ui.js: add pingDevice() and awaitReconnect() functions

Import these functions from the flash.js for use with other views that
might trigger a device reboot.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js