Do not try to hide the input if not there - it causes an exception, stopping the template from loading

This commit is contained in:
nathangray 2016-05-25 16:54:08 -06:00
parent f7592ae0b0
commit 5774bf9d5a

View File

@ -847,7 +847,10 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
if (this.options.tags) {
// Always hide input options
this.input.hide();
if(this.input)
{
this.input.hide();
}
if (_disable)
{