Comparing version 0.0.46 to 0.0.47
@@ -611,3 +611,2 @@ var widgets = require('./widgets'), | ||
{ | ||
self.value = null; | ||
on_finish(); | ||
@@ -617,3 +616,3 @@ } | ||
// delete old file is needed/requested | ||
if(self.value && self.value.path && (req.body[self.name + '_clear'] || req.files[self.name] && req.files[self.name].name)) | ||
if(self.value && self.value.path && (req.body[self.name + '_clear'] || (req.files[self.name] && req.files[self.name].name))) | ||
{ | ||
@@ -620,0 +619,0 @@ fs.unlink(self.directory + self.value.path,after_delete); |
{ | ||
"name": "j-forms", | ||
"description": "jewish forms creation from fields or from mongoose models", | ||
"version": "0.0.46", | ||
"version": "0.0.47", | ||
"author": "Ishai Jaffe <ishai@empeeric.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
252923
3849