forked from openwisp/openwisp-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Fixed unsaved_changes.js when location is present openwisp#388
Location geometry was not being parsed from JSON and hence the geometry JSON representation had some slight differences which where triggering the unsaved changes alert. I took advantage to simplify the code and to fix the non camelcase functions and variables in this part of the code. I also updated a global variable name strating with _njc (netjsonconfig) to owc (openwisp-controller). Fixes openwisp#388
- Loading branch information
1 parent
80bb8a0
commit 32c4bc9
Showing
2 changed files
with
16 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters