luci-base: cbi.js: add modal dialog functions
authorJo-Philipp Wich <jo@mein.io>
Tue, 13 Nov 2018 15:30:46 +0000 (16:30 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Nov 2018 19:46:04 +0000 (20:46 +0100)
commit333b7e57d3a45bb1d604685ebb78ab167c3faf73
treefd7c49a893655761b4ed26dc8ab2c8f8258ee355
parent1c848262426c3f106649bac44f7ac7d0541ba293
luci-base: cbi.js: add modal dialog functions

Add two new functions showModal() and hideModal() which will fade in and
close an open modal respectively.

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