[Download] Fix network type checking
authorDeqing Huang <deqing.huang@intel.com>
Fri, 6 Dec 2013 10:17:39 +0000 (18:17 +0800)
committerDeqing Huang <deqing.huang@intel.com>
Fri, 6 Dec 2013 10:17:39 +0000 (18:17 +0800)
commit88def974f0bcbac8f9031e1950e11be29f51ccd8
treea19533c0485af1882bb0857501efe43f287730d9
parent7bc58f81bc668dc464c56f523ca9f1f0a7b4eb49
[Download] Fix network type checking

It is ok to set networktype to null, as it is optional.
And no need to throw exception if trying to set invalid value
(according to spec).
download/download_api.js