Changeset 2313


Ignore:
Timestamp:
Sep 2, 2013, 4:25:46 PM (5 years ago)
Author:
matthijs
Message:

luci: Make sure the base 3G profile is properly set

Because of forgotten quotes, a custom profile would never get its base
profile properly set. This didn't much in practice (the values were
correctly taken from the right base profile), but the "Based on"
dropdown would always be set to the first profile in the list until it
was explicitely changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/luci/modules/admin-fon/luasrc/model/cbi/fon_umts/device_config.lua

    r2312 r2313  
    5454                m:set(section_name, 'data', device.profile.data)
    5555                m:set(section_name, 'dialcmd', device.profile.dialcmd)
    56                 if not m:get(section_name, base) then
     56                if not m:get(section_name, 'base') then
    5757                        m:set(section_name, 'base', device.profile.name)
    5858                end
Note: See TracChangeset for help on using the changeset viewer.