Skip to content

Commit

Permalink
#118 closed: "Make selectboxes for versions and default version a bit…
Browse files Browse the repository at this point in the history
… narrower"
  • Loading branch information
ignatov committed Aug 3, 2011
1 parent 4b4e24f commit 39737a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/scala/tools/colladoc/lib/js/JqUI.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ object JqUI {
}

/** Convert selected element to select menu. */
case class SelectMenu(width: Int = 300) extends JsExp with JsMember {
case class SelectMenu(width: Int = 225) extends JsExp with JsMember {
override def toJsCmd = "selectmenu({ width: " + width.toString + " })"
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/scripts/cosearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function infiniteScroll(){
$("#recCount").text(parseInt(recText) + newNum);

var combos=$(result).find("select");
combos.selectmenu({width:300});
combos.selectmenu({width:225});

// append new elements to results page
$("#searchResults").append(result.children());
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/scripts/cotemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function shortcut_enable(){

function reinit(selector) {
$('.button', $(selector)).button();
$('.select', $(selector)).selectmenu({ width: 300 });
$('.select', $(selector)).selectmenu({ width: 225 });
$('.menu', $(selector)).each(function() {
$(this).next().menu({ input: $(this) }).hide();
}).click(function(event) {
Expand Down

0 comments on commit 39737a8

Please sign in to comment.