neil 6 years ago
parent
commit
cc9aec02ff
  1. 4
      designer-base/src/main/java/com/fr/design/javascript/JavaScriptActionPane.java

4
designer-base/src/main/java/com/fr/design/javascript/JavaScriptActionPane.java

@ -7,9 +7,9 @@ import com.fr.design.dialog.DialogActionAdapter;
import com.fr.design.fun.JavaScriptActionProvider;
import com.fr.design.gui.frpane.UIComboBoxPane;
import com.fr.design.gui.ibutton.UIButton;
import com.fr.design.mainframe.DesignerContext;
import com.fr.design.write.submit.DBManipulationPane;
import com.fr.form.ui.WebContentUtils;
import com.fr.js.JavaScript;
import javax.swing.BorderFactory;
@ -46,7 +46,7 @@ public abstract class JavaScriptActionPane extends UIComboBoxPane<JavaScript> {
Set<JavaScriptActionProvider> javaScriptActionProviders = ExtraDesignClassManager.getInstance().getArray(JavaScriptActionProvider.XML_TAG);
if (javaScriptActionProviders != null) {
for (JavaScriptActionProvider jsp : javaScriptActionProviders) {
if(jsp.accept(DesignerContext.getDesignerFrame().getSelectedJTemplate())){
if(jsp.isSupportType()){
paneList.add(jsp.getJavaScriptActionPane(this));
}
}

Loading…
Cancel
Save