[Koha-bugs] [Bug 11127] OPAC suggestion: the delete link is active when no suggestion selected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 24 15:59:49 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11127

--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Instead of adding the "disabled" attribute to an element which isn't really
supposed to have it (according to the specification) I think it would be better
to check for the existence of a checked checkbox:

  var checkedBoxes = $("input:checked");
  if ($(checkedBoxes).size() == 0) {
     alert(MSG_NO_RECORD_SELECTED);
     return false;
  }

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list