mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-31 02:21:28 +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);
|
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"]);
|
et2_register_widget(et2_url, ["url", "url-email", "url-phone"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user