Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-379 Known Bugs
  3. TVB-540

When selecting multiple Monitors, they are not submitted in Operation

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.9.6
    • None
    • None
    • It is a problem in getSubmitableData function.
      I started to rewrite the submit part, I write the code bellow (use it if it is of any help, of write another one, which does the job :-) )

    Description

      var selects = $("#" + inputDivId + " select").each(function () {
      if (!allowDisabled && this.disabled)

      { return; }

      submitableData[this.name] = this.options[this.selectedIndex].value;
      if (this.multiple) {
      var all_values = [];
      $(this).find('option:selected').each(function ()

      { all_values.push(this.value); }

      );
      submitableData[this.name] = all_values;
      }
      });

      Gliffy Diagrams

        Attachments

          Activity

            People

              bogdan.neacsa Bogdan Neacsa
              lia.domide Lia Domide
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h