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...Administration ...Administration ...FireFox 5 & DNN 5.6.3 - Menu problems with Browser Back ButtonFireFox 5 & DNN 5.6.3 - Menu problems with Browser Back Button
Previous
 
Next
New Post
2/14/2012 6:58 AM
 

Any DNN person can give an official reply abt v 5.6.x ?

Anybody who can tell me what to do to fix this myself, without having side-effects and without changing the control itself?

thank you

 
New Post
2/16/2012 11:51 AM
 

This problem still exists in 5.6.6, and I've tried swapping dnn.controls.dnnmenu.js files from multiple other versions (5.6.7, 6.0.1, 6.1.3, etc.) with no resolution. Either the menus disappear if the user hits the Back button or the Refresh button in Firefox, or AJAX callbacks cause duplicate menus (toggling between the different "tabs" on the View Profile control, for example.)  I fixed both by changing line 17 in the dnn.controls.dnnmenu.js file from 5.6.6 to the following obnoxious line:

if(this.rootNode!==null){if(this.container.childNodes.length <= 0) for(var i=0;i<this.rootNode.childNodeCount();i++)this.renderNode(this.rootNode.childNodes(i),this.container);this.addHandlers(document.body,{"click":this._bodyClick},this);}if(dnn.dom.browser.isType(dnn.dom.browser.Mozilla,dnn.dom.browser.Safari)==false) dnn.setVar(this.ns + '_json', '');},renderNode:function(node,ctr)
 

 I've highlighted the two parts I changed.The second part that checks for browser type is the code suggested originally by Jason Sobell in this thread, which fixes the Back button/Refresh button issue. The first part checks for child elements in the menu container and skips looping through menu nodes and adding them if there are already child nodes present. This fixes the duplicate menus problem that exists in Firefox under certain AJAX calls, at least in MY site tested with the latest versions of IE, Firefox, and Chrome. YMMV, but hopefully this helps someone as I burned WAY too much non-billable time on this!

 
New Post
2/20/2012 9:40 AM
 

Thank you very much Bill!

I tried your fix and it seems to work ok with 5.6.7.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...FireFox 5 & DNN 5.6.3 - Menu problems with Browser Back ButtonFireFox 5 & DNN 5.6.3 - Menu problems with Browser Back Button


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