Search bar: add placeholder text

This commit is contained in:
Brian Federle 2013-10-02 12:46:36 -07:00
parent 8978f8cd8a
commit f0cec55fea
2 changed files with 8 additions and 1 deletions

View File

@ -853,7 +853,12 @@
var createSearchBar = function($toolbar, listViewData) {
var $search = $('<div></div>').addClass('text-search reduced-hide');
var $searchBar = $('<div></div>').addClass('search-bar reduced hide').appendTo($search);
$searchBar.append('<input type="text" />');
$searchBar.append($(
$('<input>').attr({
type: 'text',
placeholder: _l('label.search')
})
));
$search.append('<div id="basic_search" class="button search"></div>');
if (listViewData.advSearchFields != null) {

View File

@ -15,6 +15,8 @@
// specific language governing permissions and limitations
// under the License.
@mixin csui-list {
margin: 20px;
table {
width: 100%;