Commit 453ef8a4 authored by Serge S. Koval's avatar Serge S. Koval Committed by GitHub

Merge pull request #1497 from AdamGS/master

Fixed issue where 'size()' is still used.
parents 38e5b805 ee023586
var AdminModelActions = function(actionErrorMessage, actionConfirmations) { var AdminModelActions = function(actionErrorMessage, actionConfirmations) {
// Actions helpers. TODO: Move to separate file // Actions helpers. TODO: Move to separate file
this.execute = function(name) { this.execute = function(name) {
var selected = $('input.action-checkbox:checked').size(); var selected = $('input.action-checkbox:checked').length;
if (selected === 0) { if (selected === 0) {
alert(actionErrorMessage); alert(actionErrorMessage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment