.When ever I click on the link to add or edit it just shows this "[ { "command": "settings", "argument": { "basePath": "/FireCop/", "admin_menu": { "margin_top": 1, "position_fixed": 1 } } }, { "command": "css_files", "argument": [ { "file": "/FireCop/modules/admin_menu/admin_menu.css?f", "media": "all" }, { "file": "/FireCop/modules/cck/theme/content-module.css?f", "media": "all" }, { "file": "/FireCop/modules/ctools/css/ctools.css?f", "media": "all" }, { "file": "/FireCop/modules/node/node.css?f", "media": "all" }, { "file": "/FireCop/modules/system/admin.css?f", "media": "all" }, { "file": "/FireCop/modules/system/defaults.css?f", "media": "all" }, { "file": "/FireCop/modules/system/system.css?f", "media": "all" }, { "file": "/FireCop/modules/system/system-menus.css?f", "media": "all" }, { "file": "/FireCop/modules/user/user.css?f", "media": "all" }, { "file": "/FireCop/modules/cck/modules/fieldgroup/fieldgroup.css?f", "media": "all" }, { "file": "/FireCop/modules/views/css/views.css?f", "media": "all" } ] }, { "command": "scripts", "argument": [ "/FireCop/misc/jquery.js?f", "/FireCop/misc/drupal.js?f", "/FireCop/modules/admin_menu/admin_menu.js?f", "/FireCop/misc/autocomplete.js?f" ] }, { "command": "modal_display", "title": "", "output": "\x3cform action=\"/FireCop/admin/settings/dashboard/add/modal/information\" accept-charset=\"UTF-8\" method=\"post\" id=\"dashboard-generator-form-information\"\x3e\n\x3cdiv\x3e\x3cdiv class=\"form-item\" id=\"edit-title-wrapper\"\x3e\n \x3clabel for=\"edit-title\"\x3eWidget title: \x3cspan class=\"form-required\" title=\"This field is required.\"\x3e*\x3c/span\x3e\x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"title\" id=\"edit-title\" size=\"60\" value=\"Recent Comments Block\" class=\"form-text required\" /\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-description-wrapper\"\x3e\n \x3clabel for=\"edit-description\"\x3eWidget description: \x3cspan class=\"form-required\" title=\"This field is required.\"\x3e*\x3c/span\x3e\x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"description\" id=\"edit-description\" size=\"60\" value=\"Recent Comments.\" class=\"form-text required\" /\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-thumbnail-wrapper\"\x3e\n \x3clabel for=\"edit-thumbnail\"\x3eWidget thumbnail: \x3c/label\x3e\n \x3cinput type=\"file\" name=\"files[thumbnail]\" class=\"form-file\" id=\"edit-thumbnail\" size=\"60\" /\x3e\n\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-tags-wrapper\"\x3e\n \x3clabel for=\"edit-tags\"\x3eWidget tags: \x3cspan class=\"form-required\" title=\"This field is required.\"\x3e*\x3c/span\x3e\x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"tags\" id=\"edit-tags\" size=\"60\" value=\"comments\" class=\"form-text form-autocomplete required\" /\x3e\n\x3c/div\x3e\n\x3cinput class=\"autocomplete\" type=\"hidden\" id=\"edit-tags-autocomplete\" value=\"http://localhost/FireCop/admin/settings/dashboard/ajax/autocomplete/tag\" disabled=\"disabled\" /\x3e\x3cdiv class=\"form-item\"\x3e\n \x3clabel\x3eWidget type: \x3cspan class=\"form-required\" title=\"This field is required.\"\x3e*\x3c/span\x3e\x3c/label\x3e\n \x3cdiv class=\"form-radios\"\x3e\x3cdiv class=\"form-item\" id=\"edit-widget-type-block-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-widget-type-block\"\x3e\x3cinput type=\"radio\" id=\"edit-widget-type-block\" name=\"widget_type\" value=\"block\" checked=\"checked\" class=\"form-radio\" /\x3e Block\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-widget-type-node-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-widget-type-node\"\x3e\x3cinput type=\"radio\" id=\"edit-widget-type-node\" name=\"widget_type\" value=\"node\" class=\"form-radio\" /\x3e Node\x3c/label\x3e\n\x3c/div\x3e\n\x3c/div\x3e\n\x3c/div\x3e\n\x3cinput type=\"hidden\" name=\"form_build_id\" id=\"form-739fd10a53726e340b183f41bc275474\" value=\"form-739fd10a53726e340b183f41bc275474\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_token\" id=\"edit-dashboard-generator-form-information-form-token\" value=\"952e4974affdaec37de031ca4ef11d6c\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_id\" id=\"edit-dashboard-generator-form-information\" value=\"dashboard_generator_form_information\" /\x3e\n\x3cdiv class=\"clear-block\"\x3e\x3cinput type=\"submit\" name=\"op\" id=\"edit-next\" value=\"Proceed to next step\" class=\"form-submit\" /\x3e\n\x3cinput type=\"submit\" name=\"op\" id=\"edit-cancel\" value=\"Cancel\" class=\"form-submit\" /\x3e\n\x3c/div\x3e\n\x3c/div\x3e\x3c/form\x3e\n" } ]"

And Literally nothing else. What is this? Also if anyone has another module that works like this I'm listening. Also is there a way to make it so that different roles have access to different modules. If I need To I will just hack it with Jquery to make it hide different widgets.

Comments

I fixed this by changing the method durpal_to_js in includes/common.inc to something like this:

...
case 'resource':
case 'string':
return '"'. str_replace(array( "\r", "\n", "\'", '<', '>', '&'),
array( '\r', '\n', "'", '\u003c', '\u003e', '\u0026'),
...

Apparently the way later version of jquery parse json does not work with the old unicode representations.