JSFiddle - React, Tailwind, and code Playground

by Codesleuth

JavaScript

var Dialogs = {
    FilterEditor: {
        // lazy-loaded dialogs
        _filterEditor: null,

        _create: function () {
            return $('<div>')
                .attr('title', 'Flow Filter Editor')
                .dialog({
                    modal: true,
                    autoOpen: false
                });
        },

        Show: function (designer, flowFilter) {
            /// <summary>Shows the FlowFilter editor. Best to call this as: Dialogs.FilterEditor.call(
            /// <param name="designer" type="DesignerControl">The designer control the specified FlowFilter is on.</param>
            /// <param name="flowfilter" type="HCS.FlowDesigner.FlowFilter">The FlowFilter to edit.</param>

            // create the dialog if it doesn't already exist
            var d = Dialogs.FilterEditor._filterEditor = Dialogs.FilterEditor._filterEditor || Dialogs.FilterEditor._create();
            d.dialog("open");
            
            return d;
        }
    }
};


console.log("break before here");