X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_controls.inc;h=eaaccdca31110b3494c0651cd5ee025a083e8f3e;hb=95a69c2506035fb3e300cdbd221cb979f403fc04;hp=d6533f901722f5999ef7d81386932fea61d954df;hpb=947c20b6129eb0b105780c8b1ae5b957cd9acaac;p=fa-stable.git diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index d6533f90..eaaccdca 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -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,7 +443,8 @@ 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];