|
|
| Author |
Message |
mduling
Joined: 01 Mar 2005 Posts: 16
|
Posted: Mon Mar 10, 2008 8:16 pm Post subject: [SOLVED] Can't edit maps /w 0.95a Cacti plugin |
|
|
| Not sure what I'm doing wrong, but 0.95a's editor doesn't work for me. I checked paths and permissions. My old map works fine but when I enter the editor I can't click on anything. The menu buttons are dead, and clicking on nodes and links does nothing. I am using PHP 5/Apache 2.2.x/OS X. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Tue Mar 11, 2008 3:18 am Post subject: |
|
|
What browser are you using? All the 'clickiness' is done with javascript, so it's likely to be that side that's the issue.
If your browser has one, have a look at the javascript (not java) console, and see if it shows any errors. |
|
| Back to top |
|
 |
kentmmm
Joined: 11 Mar 2008 Posts: 1
|
Posted: Tue Mar 11, 2008 10:46 am Post subject: |
|
|
| Howie wrote: | | What browser are you using? All the 'clickiness' is done with javascript, so it's likely to be that side that's the issue. |
Error appears in case of changing node ICON parametr.
Problem source is undefined symbol "console" in editor.js
if(mynode.iconfile != '')
{
console.log(mynode.iconfile.substring(0,2));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
remove this line and it work
if(mynode.iconfile.substring(0,2)=='::') |
|
| Back to top |
|
 |
mduling
Joined: 01 Mar 2005 Posts: 16
|
Posted: Tue Mar 11, 2008 11:19 am Post subject: |
|
|
Ah, it is a browser issue. I'm using Safari, but with Firefox the problem goes away.
Well I removed this line but it didn't fix it for Safari:
if(mynode.iconfile.substring(0,2)=='::')
Or was that the line you meant? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Tue Mar 11, 2008 1:35 pm Post subject: |
|
|
No, it's the console.log() line.
That's intended to talk to the Firebug javascript debugger. Shouldn't really be in the release code  |
|
| Back to top |
|
 |
mduling
Joined: 01 Mar 2005 Posts: 16
|
Posted: Tue Mar 11, 2008 3:13 pm Post subject: |
|
|
| Got it. That fixed the problem on Safari. Thanks! |
|
| Back to top |
|
 |
|