don't use ngupload for opml import, use a classic http post

This commit is contained in:
Athou
2013-05-29 15:13:12 +02:00
parent 5a6a7c9827
commit 7c2d000c26
6 changed files with 6 additions and 12 deletions

View File

@@ -97,11 +97,6 @@ function($scope, FeedService, CategoryService, MobileService) {
$scope.isOpenImport = false;
};
$scope.uploadComplete = function(contents, completed) {
CategoryService.init();
$scope.closeImport();
};
$scope.cat = {};
$scope.openCategory = function() {

View File

@@ -1,6 +1,6 @@
var app = angular.module('commafeed', [ 'ui', 'ui.bootstrap', 'ui.state',
'commafeed.directives', 'commafeed.controllers', 'commafeed.services',
'commafeed.filters', 'ngSanitize', 'ngUpload', 'infinite-scroll',
'commafeed.filters', 'ngSanitize', 'infinite-scroll',
'ngGrid' ]);
app.config([ '$routeProvider', '$stateProvider', '$urlRouterProvider', '$httpProvider',