Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Javascript errors:  draggable and dnnConfirm not a functionJavascript errors: draggable and dnnConfirm not a function
Previous
 
Next
New Post
12/16/2011 4:07 PM
 
cathal connolly wrote:
I assume these functions work as expected with pop-up's enabled? If so this is a bug and should be logged at support.dotnetnuke.com (and soon as we're working on 6.0.2 as we speak)

 That assumption is incorrect, Cathal.

 
New Post
12/19/2011 9:26 AM
 
Wow! Still no response from team members....
 
New Post
1/14/2012 11:28 AM
 

I was having a similar problem, and I managed to resolve it.  Some JavaScripts on my home page were failing to work.  I used Firebug to investigate and saw an error stating that "dnnConfirm is not a function".  After some debugging, I found the bug:  It seems that some of the new DNN 6 features (ex: the "Manage" button and menu) rely on a new JavaScript library.  This library was not being loaded.

The new RIBBONBAR control panel that ships with DNN 6 automatically loads the required JavaScript, so the other administrative functions work correctly as long as you're using that control panel.  But if you change to a different control panel, the JavaScript library is likely not being loaded.

 I was using a control panel that I built, so I changed my Page_Load to include the following:

DotNetNuke.Framework.jQuery.RequestRegistration();
DotNetNuke.Framework.jQuery.RequestUIRegistration();
DotNetNuke.Framework.jQuery.RequestDnnPluginsRegistration(); 

These statements will load jQuery, jQuery UI and the DotNetNuke JavaScript libraries, respectively.  You should be able to add this code to any control panel.  It could be done either in the code-behind (.cs or .vb) or in a server-side script tag in the .ascx source.

The built-in control panels can be found in the /Admin/ControlPanel/.  If you are using a third party or custom control, you can find out the source location.  Go to Host > SQL and paste the following command:

SELECT [ControlKey], [ControlSrc] FROM {databaseOwner}{objectQualifier}ModuleControls WHERE [ControlKey] like 'CONTROLPANEL%' 

This will produce a list of all of the control panels in your DNN installation.  Again, all should be editable, and adding the references should resolve the "dnnConfirm is not a function" problem.

BTW, I am running DNN 6.0.2.  I have not tested whether the problem has been fixed in 6.1.x, or whether this workaround still solves the problem.

 
New Post
1/15/2012 10:15 AM
 
I can confirm Kevin's resolution worked on a clean (new) DNN 6.1.2 installation as well. Apparently it's not just an issue with using a third party control panel (toolbar) but also if you use the core ICONBAR



Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
1/27/2012 11:51 AM
 

Hye,

Just for information : same problem in 6.1.2, Waiting for the next release...

Erreur : $module.find(opts.menuWrapSelector).draggable is not a function
Fichier Source : http://www.titane-electric.com/admin/menus/dnnactions/dnnactions.debug.js?cdv=117
Ligne : 135

 

Thank you,

David

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Javascript errors:  draggable and dnnConfirm not a functionJavascript errors: draggable and dnnConfirm not a function


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out