moltam89/liferay-portal — pull request #179 by peterborkuti (2013-06-13 09:51:54+00:00)
Title: [TECHNICAL-SUPPORT] LPS-35681 Wiki : ResourceTypes in ckeditor's fileBrowser contains only Attachment

browser.html:
If there is no resource type set, default is "Document,Page", so ShowAllTypes is unnecessary, I deleted it from frmresourcetype.html, but not from browser.html because it would be too big hassle.

frmresourcetype.html
inArray: it checks if browser knows [].indexOf, if yes, uses this.

!!oConnector.ResourceTypes[0]:
I did not use !!, because I think it is unnecessary in this context.