Commit cf7b8116 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: do not display "Editable" checkbox

parent 3ddf3a4c
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
</form> </form>
<ul></ul> <ul></ul>
<div data-gadget-url="gadget_erp5_field_multicheckbox.html" <!--div data-gadget-url="gadget_erp5_field_multicheckbox.html"
data-gadget-scope="erp5_checkbox" data-gadget-scope="erp5_checkbox"
data-gadget-sandbox="public"></div> data-gadget-sandbox="public"></div-->
<dl></dl> <dl></dl>
</div> </div>
</div> </div>
......
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1003.49969.4010.22357</string> </value> <value> <string>1003.50025.317.42786</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1666257180.24</float> <float>1666345667.93</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -197,12 +197,12 @@ ...@@ -197,12 +197,12 @@
'Search', 'Search',
'My Account', 'My Account',
'Logout' 'Logout'
]), ])
checkbox_gadget: gadget.getDeclaredGadget("erp5_checkbox") //checkbox_gadget: gadget.getDeclaredGadget("erp5_checkbox")
}); });
}) })
.push(function (result_dict) { .push(function (result_dict) {
var editable_value = [], var //editable_value = [],
element_list = [], element_list = [],
icon_and_key_list = [ icon_and_key_list = [
'home', null, 'home', null,
...@@ -229,6 +229,7 @@ ...@@ -229,6 +229,7 @@
domsugar(gadget.element.querySelector("ul"), domsugar(gadget.element.querySelector("ul"),
[domsugar(null, element_list)]); [domsugar(null, element_list)]);
/*
// Update the checkbox field value // Update the checkbox field value
if (gadget.state.editable) { if (gadget.state.editable) {
editable_value = ['editable']; editable_value = ['editable'];
...@@ -241,6 +242,7 @@ ...@@ -241,6 +242,7 @@
items: [[result_dict.translation_list[0], 'editable']], items: [[result_dict.translation_list[0], 'editable']],
'default': editable_value 'default': editable_value
}}); }});
*/
}); });
} }
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1003.51470.26068.15547</string> </value> <value> <string>1003.51500.27349.12782</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1666345403.05</float> <float>1666345844.17</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment