openmedialibrary/static/js/listToolbar.js

23 lines
591 B
JavaScript
Raw Normal View History

2014-05-04 17:26:43 +00:00
'use strict';
oml.ui.listToolbar = function() {
var ui = oml.user.ui,
that = Ox.Bar({size: 24})
.css({zIndex: 2})
.append(
oml.$ui.openButton = oml.ui.openButton()
).append(
oml.$ui.previewButton = oml.ui.previewButton()
).append(
oml.$ui.listViewButtons = oml.ui.listViewButtons()
).append(
oml.$ui.sortElement = oml.ui.sortElement()
).append(
oml.$ui.findElement = oml.ui.findElement()
);
return that;
};