Don't try for default, causes error if add is not valid

This commit is contained in:
Nathan Gray 2013-04-10 13:15:49 +00:00
parent 0de87f5711
commit b171acf19a

View File

@ -215,11 +215,6 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(
links = this._widget.options.settings.placeholder_actions;
} catch (e) {
}
// Default
if(typeof links == "undefined")
{
links = ["add"];
}
return links;
},