You have been subscribed to a public bug:
When passing from FORM to PAGE view sometimes we get
"wikitext.split is not a function" on """ var lines =
wikitext.split(/\r?\n/); """ in wiki/static/src/lib/wiky/wiky.js.
and you get a blank screen instead of the content of the page.
Here:
[...]
wiky.process = function(wikitext) {
var lines = wikitext.split(/\r?\n/);
[...]
wikitext could be "false" so we can easily fix this by adding one line:
[...]
wiky.process = function(wikitext) {
if(!wikitext){ return "" }
var lines = wikitext.split(/\r?\n/);
[...]
Cheers
** Affects: openobject-addons
Importance: Low
Status: Confirmed
** Tags: web wiki
--
wiki module error "wikitext.split is not a function"
https://bugs.launchpad.net/bugs/927653
You received this bug notification because you are a member of OpenERP Indian
Team, which is subscribed to OpenERP Addons.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp