Widget:CJP: Difference between revisions

Jump to navigation Jump to search
Matt Pijoan (talk | contribs)
No edit summary
Christopher Popma (talk | contribs)
No edit summary
Line 53: Line 53:
     function microChapterData() {
     function microChapterData() {
         if ($('option:selected', 'select').val() === "Black Box Warning") {
         if ($('option:selected', 'select').val() === "Black Box Warning") {
             $("#prepend").val("__NOTOC__ \n \n{{CMG}}");
             $("#prepend").val("{{TopOfDrugPaeg}} /n /n {{BlackBoxTemplate|blackBoxWarningTitle=");
             $("#append").val("Added Text to the End");
            ${"pend").val("|blackBoxWarningBody=");
             $("#append").val("}}");
             $("#instructions").html("These are some instructions");
             $("#instructions").html("These are some instructions");
         } else if ($('option:selected', 'select').val() === "Chapter 2") {
         } else if ($('option:selected', 'select').val() === "Chapter 2") {

Revision as of 18:51, 20 March 2014