Fix errors in conditions JS.

Review Request #12298 — Created May 24, 2022 and submitted

david
Djblets
release-3.x
djblets

The version of Backbone we're using apparently doesn't like passing a
fat arrow function for the model constructor attribute of a new
collection. This was causing various errors to pop up when attempting to
use the conditions UI (and failures for those code paths in the
js-tests). This change updates it to use a regular function instead.

  • Ran js-tests.
  • Was able to configure a condition set for an integration in Review
    Board.
Summary
Fix errors in conditions JS.
maubin
  1. Ship It!
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (67b48f1)
Loading...