Authored by biao

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into fix/issue

No preview for this file type
@@ -25,7 +25,7 @@ $('.address-item').on('touchend', function() { @@ -25,7 +25,7 @@ $('.address-item').on('touchend', function() {
25 25
26 orderInfo('addressId', addressId); 26 orderInfo('addressId', addressId);
27 orderInfo('address', address); 27 orderInfo('address', address);
28 -}).on('touchend', '.edit', function() { 28 +}).on('touchstart', '.edit', function() {
29 window.location.href = $(this).data('href'); 29 window.location.href = $(this).data('href');
30 return false; 30 return false;
31 }).on('touchstart', '.del', function() { 31 }).on('touchstart', '.del', function() {
@@ -875,7 +875,7 @@ class HomeController extends AbstractAction @@ -875,7 +875,7 @@ class HomeController extends AbstractAction
875 $jsApiParameters = $tools->GetJsApiParameters($order); 875 $jsApiParameters = $tools->GetJsApiParameters($order);
876 876
877 $this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => json_decode($jsApiParameters) )) ); 877 $this->echoJson(array('code' => 200, 'data' => array('jsApiParameters' => json_decode($jsApiParameters) )) );
878 - 878 +
879 } while (false); 879 } while (false);
880 } 880 }
881 881
@@ -913,7 +913,7 @@ class HomeController extends AbstractAction @@ -913,7 +913,7 @@ class HomeController extends AbstractAction
913 } 913 }
914 914
915 $this->setTitle('订单详情'); 915 $this->setTitle('订单详情');
916 - $this->setNavHeader('订单详情', true, false); 916 + $this->setNavHeader('订单详情', Helpers::url('/home/orders'), false);
917 917
918 $this->_view->display('order-detail', array( 918 $this->_view->display('order-detail', array(
919 'orderDetailPage' => true, 919 'orderDetailPage' => true,