]> source.dussan.org Git - nextcloud-server.git/commit
Fix IE8 issue when icon is not defined
authorVincent Petry <pvince81@owncloud.com>
Fri, 23 May 2014 14:14:02 +0000 (16:14 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 30 May 2014 08:06:29 +0000 (10:06 +0200)
commitc9d05c66de06290c8c6a8fde06f35652ad796f48
tree7ff8ecfad61efe02aee30c244979b31c76494742
parent0879a63320430b71c832c2c9fc725f3d244c9526
Fix IE8 issue when icon is not defined

Sometimes no icon file is passed to replaceSVGIcon(), it showed an error
in IE8 and broke the code flow.

This fix adds a check whether the file name is set.
core/js/js.js