Changeset 2320


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

luci: Move the 3G PIN input field

It was previously in between custom provider fields, making it confusing
that it did not belong with those. By putting it at the top, it should
be clear that it is independent of the provider chosen.

File:
1 edited

Legend:

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

    r2309 r2320  
    1212m.events = {"UMTS"}
    1313s = m:section(NamedSection, "advanced")
     14
     15local pin = s:option(Value, "umts_pin", translate("umts_pin", "PIN"))
     16pin.override_scheme = true
     17pin.rmempty = true
     18pin.password = true
    1419
    1520local country = s:option(ListValue, "umts_country", translate("country"))
     
    5459        return uservalue or ""
    5560end
    56 
    57 local pin = s:option(Value, "umts_pin", translate("umts_pin", "PIN"))
    58 pin.override_scheme = true
    59 pin.rmempty = true
    60 pin.password = true
    6161
    6262local user = s:option(Value, "umts_user", translate("umts_user", "Username"))
Note: See TracChangeset for help on using the changeset viewer.