If we have an empty app search show modal dialog link

This commit is contained in:
Johannes Zellner
2015-08-09 15:19:21 +02:00
parent 2739d54cc1
commit 41ffc4bcf3
2 changed files with 1 additions and 5 deletions

View File

@@ -146,7 +146,7 @@
</div>
<div class="col-md-10 animateMeOpacity loading-banner" ng-show="ready && !apps.length">
<h3 class="text-muted">No applications in this category.</h3>
<a href="" ng-click="activateFeedbackForm()"><h3>Let us know if you miss something.</h3></a>
<a href="" ng-click="showFeedbackModal()"><h3>Let us know if you miss something.</h3></a>
</div>
<div class="col-md-10 animateMeOpacity loading-banner" ng-show="!ready">
<h2><i class="fa fa-spinner fa-pulse"></i> Loading</h2>

View File

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