Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-3150 new Fluid demo portal
  3. FLUID-3182

The InlineEdit demo in the new demo portal has crufty code at the top of it.

    XMLWordPrintable

Details

    • Sub-issue
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.2
    • Inline Edit
    • None

    Description

      The Inline Edit component demo has this code at the top of it:

      /**

      • Customize the undo subcomponent appearance.
      • @param {Object} that
        * @param {Object}

        targetContainer
        */
        var myUndoRenderer = function (that, targetContainer)

        { var markup = "<span class='flc-undo'>" + "<span class='flc-undo-undoContainer'><a href='#' class='flc-undo-undoControl'><img src='../../../../integration-demos/sakai/images/undo.png' alt='Undo your edit' title='Undo your edit' style='border:none' /></a></span>" + "<span class='flc-undo-redoContainer'><a href='#' class='flc-undo-redoControl'><img src='../../../../integration-demos/sakai/images/redo.png' alt='Redo your edit' title='Redo your edit' style='border:none' /></a></span>" + "</span>"; var markupNode = $(markup); targetContainer.append(markupNode); return markupNode; }

        ;

      This is Eli's fancy undo/redo markup, but this renderer isn't hooked up anywhere. If we want to use it, we should hook it up, otherwise delete it.

      Attachments

        Activity

          People

            jacob Jacob Farber
            colin Colin Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: