mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
added a et2_button_ro class to all readonly buttons and remove cursor: pointer from et2_button, as it is set in et2_clickable anyway
This commit is contained in:
parent
bd7980f0e8
commit
fb311f3ebf
@ -227,6 +227,7 @@ var et2_button = et2_baseWidget.extend([et2_IInput, et2_IDetachedDOM],
|
||||
{
|
||||
(this.btn || this.image)
|
||||
.toggleClass('et2_clickable', !_ro)
|
||||
.toggleClass('et2_button_ro', _ro)
|
||||
.css('cursor', _ro ? 'default' : 'pointer'); // temp. 'til it is removed from et2_button
|
||||
}
|
||||
}
|
||||
@ -239,6 +240,7 @@ var et2_button = et2_baseWidget.extend([et2_IInput, et2_IDetachedDOM],
|
||||
{
|
||||
(this.btn || this.image)
|
||||
.removeClass('et2_clickable')
|
||||
.addClass('et2_button_ro')
|
||||
.css('cursor', 'default'); // temp. 'til it is removed from et2_button
|
||||
}
|
||||
},
|
||||
|
@ -161,7 +161,6 @@ a.et2_url.url {
|
||||
* Button widget - text only, and icon
|
||||
*/
|
||||
.et2_button {
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
font-size: 9pt;
|
||||
text-shadow: 1px 1px #E0E0E0;
|
||||
|
Loading…
Reference in New Issue
Block a user