Commits

Dejan Noveski  committed 7d1b9e4

Fixed back buttons

  • Participants
  • Parent commits dd52745

Comments (0)

Files changed (2)

File assets/www/index.html

         
         <div data-role="page" id="filter">
         	<div data-role="header" data-theme="a" data-position="fixed">
-        		<a href="#classifieds" data-icon="back" data-transition="none" data-iconpos="left">Огласи</a>
+        		<a href="#" data-rel="back" data-icon="back" data-transition="none" data-iconpos="left">Огласи</a>
 	            <h3>
 	                Пребарај
 	            </h3>
         
         <div data-role="page" id="details">
         	<div data-role="header" data-theme="a">
-        		<a href="#classifieds" data-icon="back" data-transition="none" data-iconpos="left">Огласи</a>
+        		<a href="#" data-icon="back" data-rel="back" data-transition="none" data-iconpos="left">Огласи</a>
 	            <h3>
 	                Детали
 	            </h3>
 	        </div>
-            <div data-role="content" data-theme="a">
+            <div data-role="content">
             	<p class="details-title" style="font-weight:bold"></p>
             	<p class="details-content"></p>
             	<p>

File assets/www/main.js

 					$("#details-map").html("");
 				}				
 				$("#details .details-contact-mobile-phone a,#details .details-contact-home-phone a").button();
-				$.mobile.changePage('#details', {transition: 'none'});
+				$("#details").page();
+				$.mobile.changePage('#details', {transition: 'none',});
 				
 			}, 
 			dataType: "json",