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
9/27/2011 4:22 AM
 
I just comfirm the problem and the issue...
 
New Post
10/3/2011 11:01 AM
 
I see the same behavior with the JS error if using ICONBAR but not when using RIBBONBAR.  It does not happen on all my pages, however, and so far I have not been able to figure out what is different between the erroring and error-free pages.

With RIBBONBAR active I have another issue which is JQuery related.  I have a module containing jQuery 1.8.2 because I use a popup calendar that I believe is not in earlier jQuery versions.  Pages with my jQuery module receive a JS error (reporting that a function isn't defined or something like that).  The page appears to function more or less but in edit mode I attempt to delete a module on the page and the prompt that asks me to confirm the deletion shows 0 and 1 instead of No and Yes for my choices and neither one causes any action to take place.  I suppose that is a separate issue.  I have to admit I am quite confused by what I need to do now that DNN6 has jQuery embedded.  But I suppose that's being discussed elsewhere in these forums.

Bruce
 
New Post
10/8/2011 10:00 AM
 
I see the same behavior ... but the 6.0.2 does not solve this issue ...
 
New Post
10/10/2011 8:14 AM
 
this is a workaround that works for me (file: DDRActionsMenu.ascx):
script type="text/javascript">
(function ($) {
$(document).ready(function () {
try {
var msg = '<%= DotNetNuke.UI.Utilities.ClientAPI.GetSafeJSString(Localization.GetString("DeleteModule.Confirm"))%>';
var confirmString = "confirm('" + msg + "')";
$("a[href*=\"" + confirmString + "\"]").attr("href", function () {
return $(this).attr("href").replace(/if\(.+?\)\{(.+?)\}/, "$1"); //remove its original confirm function
}).dnnConfirm({
text: '<%= Localization.GetString("DeleteModule.Confirm"), Localization.SharedResourceFile %>',
yesText: '<%= Localization.GetString("Yes.Text", Localization.SharedResourceFile) %>',
noText: '<%= Localization.GetString("No.Text", Localization.SharedResourceFile) %>',
title: '<%= Localization.GetString("Confirm.Text", Localization.SharedResourceFile) %>'
});
}
catch (e) { }
});
} (jQuery));


maybe Confirm is not shown but all jquery code is executed ...
 
New Post
10/11/2011 12:20 AM
 
Just confirming that AD's solution works and it is not solved in 6.0.2 upgrade
 
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