{"action":"closed","issue":{"url":"https://api.github.com/repos/OrchardCMS/OrchardTest/issues/1882","labels_url":"https://api.github.com/repos/OrchardCMS/OrchardTest/issues/1882/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/OrchardTest/issues/1882/comments","events_url":"https://api.github.com/repos/OrchardCMS/OrchardTest/issues/1882/events","html_url":"https://github.com/OrchardCMS/OrchardTest/issues/1882","id":67823107,"number":1882,"title":"tinymce module does not reference jQuery dependency","user":{"login":"orchardbot","id":11788683,"avatar_url":"https://avatars.githubusercontent.com/u/11788683?v=3","gravatar_id":"","url":"https://api.github.com/users/orchardbot","html_url":"https://github.com/orchardbot","followers_url":"https://api.github.com/users/orchardbot/followers","following_url":"https://api.github.com/users/orchardbot/following{/other_user}","gists_url":"https://api.github.com/users/orchardbot/gists{/gist_id}","starred_url":"https://api.github.com/users/orchardbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orchardbot/subscriptions","organizations_url":"https://api.github.com/users/orchardbot/orgs","repos_url":"https://api.github.com/users/orchardbot/repos","events_url":"https://api.github.com/users/orchardbot/events{/privacy}","received_events_url":"https://api.github.com/users/orchardbot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OrchardCMS/OrchardTest/labels/resolved","name":"resolved","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OrchardCMS/OrchardTest/milestones/14","html_url":"https://github.com/OrchardCMS/OrchardTest/milestones/Orchard%201.6.1","labels_url":"https://api.github.com/repos/OrchardCMS/OrchardTest/milestones/14/labels","id":1062859,"number":14,"title":"Orchard 1.6.1","description":"Please read our release notes for Orchard 1.6:\n[url:http://docs.orchardproject.net/Documentation/Orchard-1-6-Release-Notes]\n\nOrchard 1.6.1 is a security update:\n[url:http://docs.orchardproject.net/Documentation/Patch-4-30-2013]\n\n*Please* do not post questions as reviews. Questions should be posted in the Discussions tab, where they will usually get promptly responded to. If you post a question as a review, you will pollute the rating, and you won't get an answer.","creator":{"login":"orchardbot","id":11788683,"avatar_url":"https://avatars.githubusercontent.com/u/11788683?v=3","gravatar_id":"","url":"https://api.github.com/users/orchardbot","html_url":"https://github.com/orchardbot","followers_url":"https://api.github.com/users/orchardbot/followers","following_url":"https://api.github.com/users/orchardbot/following{/other_user}","gists_url":"https://api.github.com/users/orchardbot/gists{/gist_id}","starred_url":"https://api.github.com/users/orchardbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orchardbot/subscriptions","organizations_url":"https://api.github.com/users/orchardbot/orgs","repos_url":"https://api.github.com/users/orchardbot/repos","events_url":"https://api.github.com/users/orchardbot/events{/privacy}","received_events_url":"https://api.github.com/users/orchardbot/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"closed","created_at":"2015-04-11T05:02:13Z","updated_at":"2015-04-11T19:23:30Z","due_on":"2013-04-30T07:00:00Z","closed_at":"2015-04-11T05:02:13Z"},"comments":2,"created_at":"2011-08-01T14:49:18Z","updated_at":"2015-04-11T19:23:30Z","closed_at":"2015-04-11T19:23:30Z","body":"__Falanwe__ created:\r\nhttps://orchard.codeplex.com/workitem/18055\r\n\r\nWhen editing a content item with a BodyPart without jQuery used by any other part of the item or the pages, I get the following error message from IE9:    Error : « jQuery » is undefined\r\n\nIt appears the tinymce module does not reference a dependency to jQuery in its ResourceManifest.\r\n\nI was able to correct the problem by modifying the Tinymce.RessourceManifest.cs file the following way:\r\n\n\n\nusing Orchard.UI.Resources;\r\n\nnamespace TinyMce {\npublic class ResourceManifest : IResourceManifestProvider {\n    public void BuildManifests(ResourceManifestBuilder builder) {\n        var manifest = builder.Add();\n\n// .SetDependencies(\"jQuery\") added to correct the bug\n        manifest.DefineScript(\"TinyMce\").SetUrl(\"tiny_mce.js\", \"tiny_mce_src.js\").SetDependencies(\"jQuery\");\n        manifest.DefineScript(\"OrchardTinyMce\").SetUrl(\"orchard-tinymce.js\").SetDependencies(\"TinyMce\");\n    }\n}\n\n}\n"}}