mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Fix bug where images with numbers in their url were not displayed
This commit is contained in:
parent
388b0816b7
commit
55dc847f95
@ -127,7 +127,7 @@ var et2_button = et2_baseWidget.extend([et2_IInput, et2_IDetachedDOM],
|
||||
_image = this.options.readonly ? this.options.ro_image : this.options.image;
|
||||
|
||||
// Silently blank for percentages instead of warning about missing image - use a progress widget
|
||||
if(_image.match(/[0-9]+\%/))
|
||||
if(_image.match(/^[0-9]+\%$/))
|
||||
{
|
||||
_image = "";
|
||||
//this.egw().debug("warn", "Use a progress widget instead of percentage images", this);
|
||||
|
Loading…
Reference in New Issue
Block a user