Skip to content

Commit

Permalink
Bug: 13316 Fix closing data-role dialog pages in smartmobile view.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 4, 2014
1 parent 2654f58 commit 3052754
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/Core/js/smartmobile.js
Expand Up @@ -297,7 +297,8 @@ var HordeMobile = {
};
} else {
data.options.parsedUrl = {};
if (data.options.role === 'dialog') {
if (typeof(data.toPage) != 'undefined' &&
data.toPage.attr('data-role') == 'dialog') {
data.options.changeHash = false;
}
}
Expand Down

0 comments on commit 3052754

Please sign in to comment.