Skip to content

Commit

Permalink
Tested editor fix in 0.8.8h and 1.0.4 - both can go to editor and com…
Browse files Browse the repository at this point in the history
…e back now #58
  • Loading branch information
howardjones committed Mar 15, 2017
1 parent b1dca62 commit 66526ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@
<script type="text/javascript">

var fromplug=<?php echo ($fromplug==true ? 1:0); ?>;
var cacti_url=<?php echo $CACTI_PLUGIN_URL; ?>;
var cacti_url='<?php echo $CACTI_PLUGIN_URL; ?>';
var editor_url = '<?php echo $editor_name; ?>';

// the only javascript in here should be the objects representing the map itself
Expand Down
2 changes: 1 addition & 1 deletion lib/cacti10-plugin-hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ function weathermap_config_arrays()
if (function_exists('api_plugin_register_realm')) {
api_plugin_register_realm('weathermap', 'weathermap-cacti10-plugin.php', __('Weathermap: View'), 1);
api_plugin_register_realm('weathermap', 'weathermap-cacti10-plugin-mgmt.php', __('Weathermap: Configure/Manage'), 1);
api_plugin_register_realm('weathermap', 'weathermap-cacti-plugin-editor.php', __('Weathermap: Edit Maps'), 1);
api_plugin_register_realm('weathermap', 'weathermap-cacti10-plugin-editor.php', __('Weathermap: Edit Maps'), 1);
}

$wm_menu = array(
Expand Down

0 comments on commit 66526ad

Please sign in to comment.