This topic is locked

Dashboard js Error

10/23/2014 4:02:54 AM
PHPRunner General questions
S
Sergej author

Hi, all,

Though IE11 solved most of the js errors - am still stuck with js error when creating dashboard. Any element i try to add to the Dashboard, except chart, results in an error as seen in the attached picture...

Any ideas?

Best,

Sergej

HJB 10/23/2014

While I had NO problem like yours on a yesterday's dashboard project of mine at all (same build and x64 version like yours) I had just been looking at the lines 171 to 182 out of dashboard.js as below, guessing that your problem might be somewhere in between ADD/EDIT/VIEW configuration at your end or say, a special configuration which seems not be covered yet.
quote (lines 171 to 182 ex dashboard.js)
if(param.type == 0 || param.type == 3) {

var str1 = ["Add", "Edit", "View"].filter(function (n) { return param[n] == true; }).join(", ");

if (str1) {

el.append($("<span>" + str1 + "</span>"));

el.append($("
"));

}

var str2 = ["InlineAdd", "InlineEdit", "DeleteRecord"].filter(function (n) { return param[n] == true; }).join(", ");

if (str2) {

el.append($("<span>" + str2 + "</span>"));

el.append($("
"));

}

}

S
Sergej author 10/23/2014

Thank you - will look into it.

Best,

HJB 10/23/2014

Shortest way to solve problems is usually a fresh operating system installation. As I'm lucky with PHPR v8.0 Build 22915 under WINDOWS 10 Technical Preview, Build 9860 as by today, with NO problems at all, I'm suggesting to give the latest product of the 92% world market leader in operating system installations a fair chance by tasting same. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=76058&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />
P.S. Runs like hell on even my antic 2009 Quad Core spare system for emergency cases if system #1 suddenly fails, if not to say, it surprisingly supercedes my 2013 system ... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=76058&image=2&table=forumreplies' class='bbc_emoticon' alt=':o' />

S
Sergej author 10/23/2014



Shortest way to solve problems is usually a fresh operating system installation. As I'm lucky with PHPR v8.0 Build 22915 under WINDOWS 10 Technical Preview, Build 9860 as by today, with NO problems at all, I'm suggesting to give the latest product of the 92% world market leader in operating system installations a fair chance by tasting same. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=76059&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />
P.S. Runs like hell on even my antic 2009 Quad Core spare system for emergency cases if system #1 suddenly fails, if not to say, it surprisingly supercedes my 2013 system ... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=76059&image=2&table=forumreplies' class='bbc_emoticon' alt=':o' />



Usually is - but as always i'm trying to postpone OS reinstallation though i'm well aware it would solve at least half of my problems <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=76059&image=3&table=forumreplies' class='bbc_emoticon' alt=':)' />