mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:28:45 +01:00
Properly handle only-app set, with just an integer value
This commit is contained in:
parent
566371f0b4
commit
603f063e00
@ -734,10 +734,10 @@ var et2_link_entry = et2_inputWidget.extend(
|
||||
},
|
||||
|
||||
set_value: function(_value) {
|
||||
if(typeof _value == 'string')
|
||||
if(typeof _value == 'string' || typeof _value == 'number')
|
||||
{
|
||||
if(_value.indexOf(",") > 0) _value = _value.replace(",",":");
|
||||
if(_value.indexOf(":") >= 0)
|
||||
if(typeof _value == 'string' && _value.indexOf(",") > 0) _value = _value.replace(",",":");
|
||||
if(typeof _value == 'string' && _value.indexOf(":") >= 0)
|
||||
{
|
||||
var split = et2_csvSplit(_value, 2,":");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user