Query |
Response |
I am getting following error while save and new file.
Uncaught ejDialog: methods/properties can be accessed only after plugin creation
Error: ejDialog: methods/properties can be accessed only after plugin creation
at t.throwError (http://localhost:54586/Scripts/ej/ej.web.all.min.js:10:27430)
at r.fn.init.n.fn.(anonymous function) [as ejDialog] (http://localhost:54586/Scripts/ej/ej.web.all.min.js:10:21381)
at saveIcon (http://localhost:54586/Scripts/DiagramScripts/events.js:1285:27)
at HTMLButtonElement.onclick (http://localhost:54586/:366:156)
It is in the same project i sent you earlier.kindly ignore my last question.
|
We have modified your sample to resolve your reported issue. Please refer to the code example below in which we have shown the changes made in the sample.
Code example:
Control.js
function create(args) {
. . . . . .
. . . . . .
. . . . . .
$("#menufile")[0].firstChild.nextSibling.style.color = "white";
$("#menuedit")[0].firstChild.nextSibling.style.color = "white";
$("#menuview")[0].firstChild.nextSibling.style.color = "white";
$("#menuaction")[0].firstChild.nextSibling.style.color = "white";
. . . . .
. . . . .
}
|