Index: /branches/camp/camp-2_5-C/data/class/pages/admin/products/LC_Page_Admin_Products.php
===================================================================
--- /branches/camp/camp-2_5-C/data/class/pages/admin/products/LC_Page_Admin_Products.php	(revision 19337)
+++ /branches/camp/camp-2_5-C/data/class/pages/admin/products/LC_Page_Admin_Products.php	(revision 19353)
@@ -133,4 +133,37 @@
             $where = "product_id=" . $_POST['stock_edit_id'];
             $objQuery->update("dtb_products_class", $data, $where);
+            if($objQuery->isError())
+            {
+                $err_flag = true;
+            }
+
+            //トランザクション終了
+            if($err_flag)
+            {
+                $objQuery->rollback();
+                echo("error");
+            }
+            else
+            {
+                $objQuery->commit();
+                echo("ok");
+            }
+            //戻る
+            exit;
+        }
+
+        // 商品一覧での公開/非公開変更
+        if($_POST['mode'] === "status_edit") {
+            $objQuery = new SC_Query();
+
+            //トランザクション開始
+            $objQuery->begin();
+            //エラーフラグ初期化
+            $err_flag = false;
+
+            // データ更新
+            $data["status"] = $_POST['status_edit_value'];
+            $where = "product_id=" . $_POST['status_edit_id'];
+            $objQuery->update("dtb_products", $data, $where);
             if($objQuery->isError())
             {
Index: /branches/camp/camp-2_5-C/data/Smarty/templates/admin/products/index.tpl
===================================================================
--- /branches/camp/camp-2_5-C/data/Smarty/templates/admin/products/index.tpl	(revision 19350)
+++ /branches/camp/camp-2_5-C/data/Smarty/templates/admin/products/index.tpl	(revision 19353)
@@ -222,5 +222,5 @@
           <!--{$arrProducts[cnt].price02_min|number_format}--><br />～ <!--{$arrProducts[cnt].price02_max|number_format}-->
         <!--{else}-->
-          <input type="text" name="price02_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].price02_min}-->" onchange="jQuery.post('./index.php', {'mode':'price02_edit','price02_edit_id':'<!--{$arrProducts[cnt].product_id}-->','price02_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー：変更できませんでした');};});"">
+          <input type="text" name="price02_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].price02_min}-->" onchange="jQuery.post('./index.php', {'mode':'price02_edit','price02_edit_id':'<!--{$arrProducts[cnt].product_id}-->','price02_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー：変更できませんでした');};});">
         <!--{/if}-->
       </td>
@@ -236,5 +236,5 @@
             無制限
           <!--{else}-->
-            <input type="text" name="stock_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].stock_min}-->" onchange="jQuery.post('./index.php', {'mode':'stock_edit','stock_edit_id':'<!--{$arrProducts[cnt].product_id}-->','stock_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー：変更できませんでした');};});"">
+            <input type="text" name="stock_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].stock_min}-->" onchange="jQuery.post('./index.php', {'mode':'stock_edit','stock_edit_id':'<!--{$arrProducts[cnt].product_id}-->','stock_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー：変更できませんでした');};});">
           <!--{/if}-->
         <!--{/if}-->
@@ -243,5 +243,5 @@
       <!--{assign var=key value=$arrProducts[cnt].status}-->
       <td rowspan="2">
-        <select name="status">
+        <select name="status" onchange="jQuery.post('./index.php', {'mode':'status_edit','status_edit_id':'<!--{$arrProducts[cnt].product_id}-->','status_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー：変更できませんでした');};});">
           <option value="1"<!--{if $arrDISP[$key]=='公開'}--> selected<!--{/if}-->>公開</option>
           <option value="2"<!--{if $arrDISP[$key]=='非公開'}--> selected<!--{/if}-->>非公開</option>
