Langtext-Dialog: Größe prozentual zum Hauptfenster einstellbar pro Benutzer
[kivitendo-erp.git] / templates / webpages / generic / set_longdescription.html
index f7855f3..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>[% L.textarea_tag("popup_edit_longdescription_input", "", wrap="soft", style="width: 750px; height: 240px;") %]</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>