diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-06-27 15:55:47 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-27 15:55:47 -0700 |
| commit | 2fbc03437ac6f861f597778964cf01737968bb94 (patch) | |
| tree | 2aed23a35b499bac2814e3aeb6356a93008e2fa6 /modules/digibug/views/digibug_form.html.php | |
| parent | f98b7dc631afc4da595aa149b21b5d38f41afd22 (diff) | |
Digibug simplification cleanup. Upgrade digibug module to version 2.
1) Simplify the admin settings page to what most of our users
want. Eliminate basic_ and default_ ids. We just have company_id
and default_id. Advanced users can use advanced settings for now.
2) Fix security in print_photos (didn't get it right in my last commit)
3) Use the regular thumb and full urls if the images are publicly
available to reduce load on the proxy.
4) Simplify proxy expiration code.
5) Eliminate all specialized styles from the admin theme.
Diffstat (limited to 'modules/digibug/views/digibug_form.html.php')
| -rw-r--r-- | modules/digibug/views/digibug_form.html.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/digibug/views/digibug_form.html.php b/modules/digibug/views/digibug_form.html.php index e18cbc18..c6994cbe 100644 --- a/modules/digibug/views/digibug_form.html.php +++ b/modules/digibug/views/digibug_form.html.php @@ -1,16 +1,11 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <html> - <head> - <?= html::script("lib/jquery.js") ?> - <script type="text/javascript"> - $("body form").ready(function() { - $("body form").submit(); - }); - </script> - </head> <body> <?= form::open("http://www.digibug.com/dapi/order.php") ?> <?= form::hidden($order_parms) ?> <?= form::close() ?> + <script type="text/javascript"> + document.forms[0].submit(); + </script> </body> </html> |
