summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Snelders <programming@ertai.nl>2012-07-05 21:04:54 +0200
committerThorsten Behrens <tbehrens@suse.com>2012-07-09 21:11:14 +0200
commitcd1af6c769db93542bdee91724282276d98508a4 (patch)
treee3d98f79a71c18b7128976cbc5430539e815d0d0
parentb5b79b065b1e2f43a6ced0bade5edb8748ad48e1 (diff)
Select the first options in the select-boxes so the skin-options always work.
-rw-r--r--bug/bug/skin.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bug/bug/skin.js b/bug/bug/skin.js
index 1399fac..7858f67 100644
--- a/bug/bug/skin.js
+++ b/bug/bug/skin.js
@@ -26,18 +26,18 @@
}
function subcomponent() {
component();
- $('.state_component .choice:nth(3)').click();
+ $('.state_component .choice:nth(0)').click();
}
function version() {
subcomponent();
$.bug.ajax = function(settings) {
return $.Deferred().resolve('NUM,DESC\n100,"BUG 1"\n200,"BUG 2"\n');
};
- $('.state_subcomponent .active_subcomponent .choice:nth(2)').click();
+ $('.state_subcomponent .active_subcomponent .choice:nth(0)').click();
}
function description() {
version();
- $('.state_version .choice:nth(2)').click();
+ $('.state_version .choice:nth(0)').click();
$('.state_description .short').val('12');
}
function submit() {