Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit b1d7723

Browse files
committed
Do not search stars rate with value 0
1 parent 545910c commit b1d7723

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

core/src/plugins/meta.user/class.MetaCellRenderer.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,11 @@ Class.create("MetaCellRenderer", {
317317
conn.sendAsync();
318318
}, 500);
319319
}else{
320-
containingForm.down('input[name="'+elementName+'"]').setValue(note);
320+
if(note != '0'){
321+
containingForm.down('input[name="'+elementName+'"]').setValue(note);
322+
}else{
323+
containingForm.down('input[name="'+elementName+'"]').setValue('');
324+
}
321325
var img = Event.element(event);
322326
img.previousSiblings('img[src="'+imgOff+'"]').each(function(i){if(i.src!=imgRemove){
323327
i.src = imgOn;

0 commit comments

Comments
 (0)