Making WordPress.org


Ignore:
Timestamp:
06/05/2018 06:27:30 PM (6 years ago)
Author:
vedjain
Message:

WordCamp-Payments: Add select2 to most select fields for better UX

In budget-tools.js, there was also an undetachted even handler, which was causing rendering of select box multiple times. That is also fixed in this commit. This is mostly a UX change.

Fixes #3241
Props vedanshu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php

    r6717 r7267  
    665665    public static function get_currencies() {
    666666        $currencies = array (
    667             'EUR' => 'European Zone Euro',
    668             'USD' => 'United States Dollar',
    669 
    670             '' => '',
    671 
    672667            'AFN' => 'Afghan Afghani',
    673668            'ALL' => 'Albanian Lek',
     
    722717            'ERN' => 'Eritrean Nakfa',
    723718            'ETB' => 'Ethiopian Birr',
     719            'EUR' => 'European Zone Euro',
    724720            'FKP' => 'Falkland Islands Pound',
    725721            'FJD' => 'Fiji Dollar',
     
    822818            'AED' => 'United Arab Emirates Dirham',
    823819            'GBP' => 'United Kingdom Pound Sterling',
     820            'USD' => 'United States Dollar',
    824821            'UZS' => 'Uzbekistan Sum',
    825822            'VUV' => 'Vanuatu Vatu',
Note: See TracChangeset for help on using the changeset viewer.