diff options
Diffstat (limited to 'views/admin/form/select.phtml')
| -rw-r--r-- | views/admin/form/select.phtml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/views/admin/form/select.phtml b/views/admin/form/select.phtml index f0466c8..34993d0 100644 --- a/views/admin/form/select.phtml +++ b/views/admin/form/select.phtml @@ -6,7 +6,28 @@ <div class="wpsg_field_wrap">
- <select id="<?php echo $this->view['field_id']; ?>" name="<?php echo $this->view['field_name']; ?>" class="form-control input-sm" <?php echo $this->view['atts_select']; ?>>
+ <select
+ id="<?php echo $this->view['field_id']; ?>"
+ name="<?php echo $this->view['field_name']; ?>"
+ tabindex="<?php
+
+ if (!isset($GLOBALS['wpsg']['tabindex']))
+ {
+
+ $GLOBALS['wpsg']['tabindex'] = 10;
+
+ }
+ else
+ {
+
+ $GLOBALS['wpsg']['tabindex'] += 10;
+
+ }
+
+ echo $GLOBALS['wpsg']['tabindex'];
+
+ ?>"
+ class="form-control input-sm" <?php echo $this->view['atts_select']; ?>>
<?php
|
