If an app search is empty, show hint to give feedback

This commit is contained in:
Johannes Zellner
2015-08-06 18:35:08 +02:00
parent fdbee427ee
commit 7548025561
2 changed files with 7 additions and 2 deletions

View File

@@ -53,6 +53,10 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
});
};
$scope.activateFeedbackForm = function () {
$('#feedbackDescriptionTextarea').focus();
};
function getAppList(callback) {
AppStore.getApps(function (error, apps) {
if (error) return callback(error);