Merged changes up to version 2.3.4 into unstable.
[fa-stable.git] / includes / ui / ui_controls.inc
index d6533f901722f5999ef7d81386932fea61d954df..6965b2167cf013b99c1f2b5f3ddff269ad54f198 100644 (file)
@@ -422,13 +422,13 @@ function tabbed_content_end() {
 */
 $popup_editors = array(
        'customer' => array('/sales/manage/customers.php?debtor_no=', 
-               113,    _("Customers")),
+               113,    _("Customers"), 900, 500),
        'branch' => array('/sales/manage/customer_branches.php?SelectedBranch=', 
-               114, _("Branches")),
+               114, _("Branches"), 900, 700),
        'supplier' => array('/purchasing/manage/suppliers.php?supplier_id=', 
-               113, _("Suppliers")),
+               113, _("Suppliers"), 900, 700),
        'item' => array('/inventory/manage/items.php?stock_id=', 
-               115, _("Items"))
+               115, _("Items"), 800, 600)
 );
 /*
        Bind editors for various selectors.
@@ -443,8 +443,9 @@ function set_editor($type, $input, $caller=true)
 
        $key = $caller===true ? $popup_editors[$type][1] : $caller;
 
-       $Editors[$key] = array( $path_to_root . $popup_editors[$type][0], $input);
-       
+       $Editors[$key] = array( $path_to_root . $popup_editors[$type][0], $input, 
+               $popup_editors[$type][3], $popup_editors[$type][4]);
+
        $help = 'F' . ($key - 111) . ' - ';
        $help .= $popup_editors[$type][2];
        $Pagehelp[] = $help;