Opened 9 years ago

Last modified 9 years ago

#15801 closed defect

Dojo dijit.Dialog | Problem in window.location.hash in onCancel method — at Initial Version

Reported by: rejukg Owned by:
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

Hi I have a problem in Dialog component onCancel method. The scenario is whenever user closes the dojo dialog , user should be anchored or scrolled to a particular section of that page.

OnCancel:function(){

window.location.hash="sectionmarker";

}

The problem is the above code is moving the screen to the hashed section(section marker) which is fine , but then after immediately it is moving/scrolling the screen back to intial state.

Change History (0)

Note: See TracTickets for help on using tickets.