fix bug
This commit is contained in:
parent
3b7e6500b4
commit
e77c1416f5
|
@ -68,7 +68,7 @@ class ConfigController extends Controller {
|
||||||
"width" => 1280,
|
"width" => 1280,
|
||||||
"height" => 720
|
"height" => 720
|
||||||
],
|
],
|
||||||
"cam_resize" => [
|
"video_resize" => [
|
||||||
"width" => 640,
|
"width" => 640,
|
||||||
"height" => 360
|
"height" => 360
|
||||||
],
|
],
|
||||||
|
|
|
@ -318,17 +318,17 @@
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<input type="checkbox" checked="checked" id="c110" />
|
<input type="checkbox" checked="checked" id="c110" />
|
||||||
<label class="tree_label" for="c110">cam_resize</label>
|
<label class="tree_label" for="c110">video_resize</label>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<input type="checkbox" checked="checked" id="c1101" />
|
<input type="checkbox" checked="checked" id="c1101" />
|
||||||
<label class="tree_label" for="c1101">width</label>:
|
<label class="tree_label" for="c1101">width</label>:
|
||||||
<div contenteditable="" id="text-c1101" class="editform">{$config_json.camera.cam_resize.width}</div>
|
<div contenteditable="" id="text-c1101" class="editform">{$config_json.camera.video_resize.width}</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<input type="checkbox" checked="checked" id="c1102" />
|
<input type="checkbox" checked="checked" id="c1102" />
|
||||||
<label class="tree_label" for="c1102">height</label>:
|
<label class="tree_label" for="c1102">height</label>:
|
||||||
<div contenteditable="" id="text-c1102" class="editform">{$config_json.camera.cam_resize.height}</div>
|
<div contenteditable="" id="text-c1102" class="editform">{$config_json.camera.video_resize.height}</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -56,7 +56,7 @@ function saveStep2(e) {
|
||||||
"width": parseInt($("#text-c191").html()),
|
"width": parseInt($("#text-c191").html()),
|
||||||
"height": parseInt($("#text-c192").html())
|
"height": parseInt($("#text-c192").html())
|
||||||
},
|
},
|
||||||
"cam_resize": {
|
"video_resize": {
|
||||||
"width": parseInt($("#text-c1101").html()),
|
"width": parseInt($("#text-c1101").html()),
|
||||||
"height": parseInt($("#text-c1102").html())
|
"height": parseInt($("#text-c1102").html())
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user