3.0.5666.4

This commit is contained in:
Luke Pulverenti 2015-07-10 10:25:18 -04:00
parent 5f32167765
commit 4e815ceaf0
4 changed files with 137 additions and 76 deletions

26
dashboard-ui/cordova/searchmenu.js vendored Normal file
View file

@ -0,0 +1,26 @@
(function () {
function searchMenu() {
var self = this;
self.show = function () {
cordova.searchbar.show();
};
self.hide = function () {
cordova.searchbar.hide();
};
document.addEventListener('searchEvent', function (data) {
Events.trigger(self, 'change', [data.text || '']);
}, true);
}
window.SearchMenu = new searchMenu();
})();