Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / generic / set_longdescription.html
index e7a357b..eb74675 100644 (file)
@@ -1,7 +1,6 @@
 [%- USE L -%][%- USE LxERP -%]
 
 <div id="edit_longdescription_dialog" style="display: none">
- <p>
   <table>
    <tr>
     <th align="right">[% LxERP.t8("Row") %]:</th>
     <td id="popup_edit_longdescription_description"></td>
    </tr>
   </table>
- </p>
 
  <p id="popup_edit_longdescription_input_container"></p>
 
  <p>
-  [% L.button_tag("kivi.SalesPurchase.set_longdescription()", LxERP.t8("Close")) %]
+  [% L.button_tag("kivi.SalesPurchase.set_longdescription()", LxERP.t8("Assign")) %]
   <a onclick="$('#edit_longdescription_dialog').dialog('close');" href="#">[% LxERP.t8("Abort") %]</a>
  </p>
 </div>
+
+<script>
+  $(function() {
+    kivi.SalesPurchase.longdescription_dialog_size_percentage = "[% longdescription_dialog_size_percentage %]";
+  });
+</script>