forked from Archives/Athou_commafeed
don't use ngupload for opml import, use a classic http post
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user