[Rt-commit] rt branch, 4.4/charting-dropdowns, created. rt-4.4.0rc2-5-g5265393

Shawn Moore shawn at bestpractical.com
Fri Dec 18 15:15:29 EST 2015


The branch, 4.4/charting-dropdowns has been created
        at  5265393447688d8bca9a912d67a8a290af9884ed (commit)

- Log -----------------------------------------------------------------
commit 5265393447688d8bca9a912d67a8a290af9884ed
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Fri Dec 18 20:14:47 2015 +0000

    Chrome now gives undefined here, so fix that back to empty string
    
        Fixes: I#31417

diff --git a/share/static/js/event-registration.js b/share/static/js/event-registration.js
index b3fa546..eaacbdb 100644
--- a/share/static/js/event-registration.js
+++ b/share/static/js/event-registration.js
@@ -67,6 +67,7 @@ jQuery(function() {
 
         // Synchronize the <select> we just generated
         var selected = jQuery("option[selected]", this).parent().attr("label");
+        if (selected === undefined) selected = "";
         jQuery('option[value="' + selected + '"]', groups).attr("selected", "selected");
 
         // Wire it all up

-----------------------------------------------------------------------


More information about the rt-commit mailing list