wrong path with javascript ivr
Bug #660563 reported by
Riccardo Magliocchetti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WikiPBX |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hello,
when you add a javascript ivr the path to the js file is prepended with ".":
<action application=
unfortunately when path does not start with / it is prepended with $FSROOT/scripts:
[ERR] mod_spidermonke
Documentation (http://
Changed in wikipbx: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Here's how JavaScript IVR path is generated:
http:// bazaar. launchpad. net/~wikipbx- dev/wikipbx/ trunk/annotate/ head%3A/ wikipbx/ wikipbxweb/ models. py#L738
It looks like you've changed settings. INSTALL_ SRC to ".", which clearly is wrong - it should be an absolute path. If you haven't changed that setting from default value that auto-detects path based on settings file location, you should set it to correct absolute path.