I have developed a system where I use Dojos dijit dialog to show certain information. It works perfectly for all major browsers except for firefox ( where I've tested v3.6 and 4 BETA)
The first time I try to get a dijit dialog it all works as expected and all is well and I close it. The second time I try to open another dialog I get an error message and nothing happens. If I open the first dialog it is still working.
The error message reads as follows: Error: Bundle not found: common in dijit , locale=sv-se
Källkodsfil: path/dojo-release-1.4.3/dojo/dojo.js
Rad: 50
Expand|Select|Wrap|Line Numbers
- dojo.addOnLoad(function() { dojo.require("dijit.Dialog"); });
- // showdialog is called everytime I click a link to open a dialog function showDialog(the_title,the_url,the_id) {
- var myDialog2 = dijit.byId(the_id);
- // create the dialog:
- var myDialog2 = new dijit.Dialog({
- title: the_title,
- href: the_url,
- id: the_id
- });
- myDialog2.show();
- }
Anyone have any suggestions? I'm out of ideas :(
best regards
Rythmic