]> source.dussan.org Git - redmine.git/commitdiff
Reverts r19773 (#32125).
authorGo MAEDA <maeda@farend.jp>
Thu, 14 May 2020 13:40:59 +0000 (13:40 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 14 May 2020 13:40:59 +0000 (13:40 +0000)
The purpose of reverting is to revert r19769 on which r19773 depends.

git-svn-id: http://svn.redmine.org/redmine/trunk@19775 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/auto_completes_controller.rb
public/stylesheets/application.css

index 3b87d9e81f85e5802f1629094eabe923c81d689e..c0a0c242aaed8a72d88088df8dab6a6689b3448c 100644 (file)
@@ -56,7 +56,7 @@ class AutoCompletesController < ApplicationController
     issues.map {|issue|
       {
         'id' => issue.id,
-        'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(255)}",
+        'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(60)}",
         'value' => issue.id
       }
     }
index 278d104506696b2ad0b10f4e3b4cb44bd6424a20..954006bed7d478319326e147222a28558d1721c6 100644 (file)
@@ -1638,7 +1638,6 @@ img.filecontent.image {background-image: url(../images/transparent.png);}
 }
 .ui-autocomplete .ui-menu-item > div {
   padding: 4px 8px;
-  max-width: 500px;
 }
 .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
   border-color: #759FCF;