dhtmlxScheduler Alters dhtmlx.alert, message, & confirm CSS


#1

If I include the dhtmlxScheduler in a layout cell then it messes up all the css for dhtmlx.alert, message, & confirm. They look like this…





I did a basic complete demo with only the scheduler on the page and it still looked this way. Here was the code…

[code]

html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow: hidden; } [/code]

[code]dhtmlxEvent(window,“load”,function(){
var dhxLayout = new dhtmlXLayoutObject(document.body, ‘1C’);

scheduler.config.xml_date = "%Y-%m-%d %H:%i";

dhxLayout.cells("a").attachScheduler(new Date(2013,11,1,0,0,0,0), "month");

dhtmlx.alert({ title: "Attention", type: "alert", text: "Testing 123" });
dhtmlx.alert({ title: "Warning", type: "alert-warning", text: "Testing 123" });
dhtmlx.alert({ title: "Alert", type: "alert-error", text: "Testing 123" });
dhtmlx.confirm({ title: "Think Carefully...", type: "confirm-warning", ok: "Yes", cancel: "No", text: "Continue?" });

dhtmlx.message("Action was successful.");
dhtmlx.message("Action was successful.");
dhtmlx.message("Action was successful.");
dhtmlx.message("Action was successful.");
dhtmlx.message("Action was successful.");

});
[/code]


#2

Hello,
it is a known issue. Scheduler includes it’s own version of dhtmlxMessage and it’s overwrites one that goes with dhtmlxSuite.
Currently the only solution I can suggest is to alter styles that seems incorrect with your own css


#3

Dear sir,
i have the same problem,
but i only use dhtmlx css


#4

Could you pleas,e clarify your problem and provide a complete demo or a demo link, where the problem can be reproduced locally.