Revision 77a8080a
Added by Ohad Levy over 11 years ago
- ID 77a8080a2098812eb1fe4187a66f6d9e3dfdb49e
app/models/lookup_key.rb | ||
---|---|---|
end
|
||
|
||
def path=(v)
|
||
return unless v
|
||
using_default = v.tr("\r","") == array2path(Setting["Default_variables_Lookup_Path"])
|
||
write_attribute(:path, using_default ? nil : v)
|
||
end
|
Also available in: Unified diff
refs #832 do not force smartvars order saved if they are the default or not sent over the wire.