aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/dropdown.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 03:47:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 03:47:24 +0000
commit0b7ddb28c68a94403847ddaab460e395f09b9677 (patch)
treece39e9396a9150bc35a61b6d75405cedde56abfc /views/default/input/dropdown.php
parenta7e426447b6d544b85acb7218e4dfb84de5ce36f (diff)
downloadelgg-0b7ddb28c68a94403847ddaab460e395f09b9677.tar.gz
elgg-0b7ddb28c68a94403847ddaab460e395f09b9677.tar.bz2
Fixes #2510 sticky forms is finish - Elgg 1.9 could have a ElggForm class that makes it even easier to use a sticky form
git-svn-id: http://code.elgg.org/elgg/trunk@8042 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/dropdown.php')
-rw-r--r--views/default/input/dropdown.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/views/default/input/dropdown.php b/views/default/input/dropdown.php
index b4d38fb00..99657d983 100644
--- a/views/default/input/dropdown.php
+++ b/views/default/input/dropdown.php
@@ -23,9 +23,6 @@ if (!$class) {
$class = "elgg-input-dropdown";
}
-if (!isset($vars['value'])) {
- $vars['value'] = elgg_get_sticky_value($vars['internalname']);
-}
?>
<select name="<?php echo $vars['internalname']; ?>" <?php if (isset($vars['internalid'])) echo "id=\"{$vars['internalid']}\""; ?> <?php echo $vars['js']; ?> <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> class="<?php echo $class; ?>">