mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
adding et2_url_span class to surrounding span
This commit is contained in:
parent
1c6abab9a8
commit
6b09e93768
@ -219,6 +219,13 @@ var et2_url = et2_textbox.extend(
|
||||
e.data.showMessage("Invalid email","validation_error",true);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
attachToDOM: function()
|
||||
{
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
if (this.input[0].parentNode) jQuery(this.input[0].parentNode).addClass('et2_url_span');
|
||||
}
|
||||
});
|
||||
et2_register_widget(et2_url, ["url", "url-email", "url-phone"]);
|
||||
|
Loading…
Reference in New Issue
Block a user