avoid error on this.input[0] undefined

This commit is contained in:
Klaus Leithoff 2014-01-30 09:07:02 +00:00
parent 9415ae1a73
commit 04ad47f021

View File

@ -305,6 +305,7 @@ var et2_file = et2_inputWidget.extend(
},
getInputNode: function() {
if (typeof this.input == 'undefined') return false;
return this.input[0];
},