From b171acf19aa25c04708dacabf08a56c8fe59d750 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 10 Apr 2013 13:15:49 +0000 Subject: [PATCH] Don't try for default, causes error if add is not valid --- etemplate/js/et2_extension_nextmatch_controller.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/etemplate/js/et2_extension_nextmatch_controller.js b/etemplate/js/et2_extension_nextmatch_controller.js index 0db8b92d34..366b83088c 100644 --- a/etemplate/js/et2_extension_nextmatch_controller.js +++ b/etemplate/js/et2_extension_nextmatch_controller.js @@ -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; },