diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-11 20:32:34 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-11 20:32:34 +0200 |
commit | ce6b20c59e1140867f2353361d3524e3baeb4580 (patch) | |
tree | 7671d0e231ef7c2f5098a3b451b524eb536f0faa /js/app/services/bl/feedbl.coffee | |
parent | a9fb379b370a71f268dd501bc6a4e4d04eacc500 (diff) |
properly clear the query cache
Diffstat (limited to 'js/app/services/bl/feedbl.coffee')
-rw-r--r-- | js/app/services/bl/feedbl.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/app/services/bl/feedbl.coffee b/js/app/services/bl/feedbl.coffee index f6bd804e5..ef4fbac1c 100644 --- a/js/app/services/bl/feedbl.coffee +++ b/js/app/services/bl/feedbl.coffee @@ -128,6 +128,7 @@ NewLoading, _ExistsError) -> create: (url, parentId=0, onSuccess=null, onFailure=null) -> onSuccess or= -> onFailure or= -> + parentId = parseInt(parentId, 10) if angular.isUndefined(url) or url.trim() == '' throw new Error() |