Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
[custom select] Mark as closed after dialog closes - Re: #5195 - Than…
Browse files Browse the repository at this point in the history
…ks martenbohlin
  • Loading branch information
Gabriel Schulhof committed Oct 24, 2012
1 parent 4bbe7c6 commit f017598
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions js/widgets/forms/select.custom.js
Expand Up @@ -379,10 +379,14 @@ define( [
});
}

self.menuPage.one( "pageshow", function() {
focusMenuItem();
self.isOpen = true;
});
self.menuPage
.one( "pageshow", function() {
focusMenuItem();
self.isOpen = true;
})
.one( "pagehide", function() {
self.isOpen = false;
});

self.menuType = "page";
self.menuPageContent.append( self.list );
Expand Down

0 comments on commit f017598

Please sign in to comment.