title: DotNetNuke 9 dnnConfirm dialog error
body: <p>It seems that since DotNetNuke 9 the build-in confirm dalog <code>dnnConfirm</code> does not work anymore like it did before or has been removed. The error is <code>Uncaught TypeError: $(...).dnnConfirm is not a function</code></p>
  
  <p>I uses it like this</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $('.DeleteButton').each(function (index, item) {
          $(this).dnnConfirm({
              text: 'Delete this item?',
                  yesText: 'Yes',
                  noText: 'No',
                  title: 'Delete Dialog',
                  width: 400,
                  isButton: false
              });
          });
  &lt;/script&gt;
  </code></pre>
  
  <p>I looked it up in the documentation, but could not find anything. </p>
  
  <ul>
  <li><a href="http://www.dnnsoftware.com/wiki/dnnconfirm-jquery-plugin" rel="nofollow noreferrer">http://www.dnnsoftware.com/wiki/dnnconfirm-jquery-plugin</a></li>
  <li><a href="http://uxguide.dotnetnuke.com/UIPatterns/ConfirmDialog.html" rel="nofollow noreferrer">http://uxguide.dotnetnuke.com/UIPatterns/ConfirmDialog.html</a></li>
  </ul>
  
  <p>Does anyone have a fix/workaround/solution?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I just found out the function <em>is</em> present when you log in as a SuperUser but not as a visitor or normal user who is logged in. This would indicate that some JS files are only loaded when SuperUser whereas they were always present in previous versions.</p>