Project

General

Profile

Bug #24652 » 17129.diff

Administrator Admin, 2011-01-20 17:35

View differences:

t3lib/search/class.t3lib_search_livesearch.php (working copy)
/**
* @var integer
*/
const RECORD_TITLE_MAX_LENGTH = 37;
const RECORD_TITLE_MAX_LENGTH = 28;
/**
* @var string
typo3/js/livesearch.js (working copy)
emptyText: null,
enableKeyEvents: true,
helpTitle: null,
hideTrigger: true,
itemSelector: 'div.search-item-title',
listAlign : 'tr-br',
listClass: 'live-search-list',
......
TYPO3.ModuleMenu.App.showModule('web_list', this.dbListUrl + this.getValue());
}
}
},
keyup : function() {
if ((this.getValue() == this.emptyText) || (this.getValue() == '')) {
this.setHideTrigger(true);
} else {
this.setHideTrigger(false);
}
}
},
......
reset : function() {
this.originalValue = this.emptyText;
this.setHideTrigger(true);
TYPO3.BackendLiveSearch.superclass.reset.apply(this, arguments);
},
typo3/sysext/t3skin/stylesheets/visual/toolbar_livesearch.css (working copy)
}
.t3-icon-input-clear {
cursor: pointer;
position: absolute;
top: 0px;
right: 20px;
(5-5/5)