luci-base: fix misleading warning message when adding SSH keys
authorDirk Brenken <dev@brenken.org>
Wed, 8 Aug 2018 18:46:02 +0000 (20:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 29 Sep 2018 12:53:29 +0000 (14:53 +0200)
commit32ee1873ac89f2bd510d8982d702e127fc19d39b
tree9c41210d453dcaa978063eebe5d0d4cc9ed8a4b9
parentc3f5c01d6a17c186a56b3cc89eaac7f0a0777ffb
luci-base: fix misleading warning message when adding SSH keys

Prevent an incorrect / misleading "There are no changes to apply" message
from popping up when adding a new SSH key to the text box.

Fixes #2048.
Signed-off-by: Dirk Brenken <dev@brenken.org>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-system/luasrc/model/cbi/admin_system/admin.lua