[Svn-src-all:4310] [version-2_13_0 23224] #2405 受注編集エスケープ漏れ対応

m_uehara admin @ mail.ec-cube.net
2013年 9月 17日 (火) 10:52:56 JST


Subversion committed to /home/svn/open 23224
http://svn.ec-cube.net/open_trac/changeset/23224
┌────────────────────────────┐
│更新者 :  m_uehara                                     │
│更新日時:  2013-09-17 10:52:56 +0900 (火, 17  9月 2013)│
└────────────────────────────┘

Log:
--------------------------------------------------------
#2405 受注編集エスケープ漏れ対応

Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_13_0/data/Smarty/templates/admin/order/edit.tpl

変更: branches/version-2_13_0/data/Smarty/templates/admin/order/edit.tpl
===================================================================
--- branches/version-2_13_0/data/Smarty/templates/admin/order/edit.tpl	2013-09-13 07:02:08 UTC (rev 23223)
+++ branches/version-2_13_0/data/Smarty/templates/admin/order/edit.tpl	2013-09-17 01:52:56 UTC (rev 23224)
@@ -83,7 +83,8 @@
     }
 
     $(document).ready(function() {
-        if(<!--{$arrForm.shipping_quantity.value}--> > 1){
+        var shipping_quantity = escape('<!--{$arrForm.shipping_quantity.value|h}-->');
+        if(shipping_quantity > 1){
             $("input[name^='quantity[']").attr("disabled","disabled");
         }
     });




Svn-src-all メーリングリストの案内