A
B
diff --git a/docs/toolbars/docs-headers.html b/docs/toolbars/docs-headers.html
index e69bf093..264da71d 100755
--- a/docs/toolbars/docs-headers.html
+++ b/docs/toolbars/docs-headers.html
@@ -39,7 +39,7 @@
Page title
-
See that "back" button? The framework automatically generates a "back" button on every page, to simplify the process of including this common navigation element. To prevent the back button from being added to a header, either add your own button to the left slot (see below) or, add this attribute: data-nobackbtn="true" to the header container.
+
See that "back" button? The framework automatically generates a "back" button on every page, to simplify the process of including this common navigation element. To prevent the back button from being added to a header, either add your own button to the left slot (see below) or, add this attribute: data-backbtn="false" to the header container.
Adding buttons
@@ -86,20 +86,20 @@
The button position can also be controlled by adding classes to the button anchors, rather than relying on source order. This is especially useful if you only want a button in the right slot. To specify the button position, add the class of ui-btn-left or ui-btn-right to the anchor.
-
In this example, we're adding only a single button to the right slot so the data-nobackbtn="true" needs to be added to the header container to suppress the automatic Back button behavior and the button needs the ui-btn-right class on the link.
+
In this example, we're adding only a single button to the right slot so the data-backbtn="false" needs to be added to the header container to suppress the automatic Back button behavior and the button needs the ui-btn-right class on the link.
-<div data-role="header" data-position="inline" data-nobackbtn="true">
+<div data-role="header" data-position="inline" data-backbtn="false">
<h1>Page Title</h1>
<a href="index.html" data-icon="gear" class="ui-btn-right">Options</a>
</div>
-
+
diff --git a/experiments/converter/index.html b/experiments/converter/index.html
index 2cc9d0c5..1f9b97ad 100644
--- a/experiments/converter/index.html
+++ b/experiments/converter/index.html
@@ -49,7 +49,7 @@
-
+
diff --git a/js/jquery.mobile.page.js b/js/jquery.mobile.page.js
index e51cd507..0d8cf372 100644
--- a/js/jquery.mobile.page.js
+++ b/js/jquery.mobile.page.js
@@ -76,7 +76,7 @@ $.widget( "mobile.page", $.mobile.widget, {
// auto-add back btn on pages beyond first view
if ( o.addBackBtn && role === "header" &&
($.mobile.urlStack.length > 1 || $(".ui-page").length > 1) &&
- !leftbtn && !$this.data( "noBackBtn" ) ) {
+ !leftbtn && $this.data( "backBtn" ) === false ) {
$( "
"+ o.backBtnText +"" )
.click(function() {