Skip to content

Instantly share code, notes, and snippets.

@fedek6
Created February 28, 2017 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fedek6/9fbbbdd5f693184a9a200dc81a4309bd to your computer and use it in GitHub Desktop.
Save fedek6/9fbbbdd5f693184a9a200dc81a4309bd to your computer and use it in GitHub Desktop.
Vtiger 6.5 mass edit limit change
var selectedCount = this.getSelectedRecordCount();
if(selectedCount > 2000) {
var params = {
title : app.vtranslate('JS_MESSAGE'),
text: app.vtranslate('JS_MASS_EDIT_LIMIT'),
animation: 'show',
type: 'error'
};
Vtiger_Helper_Js.showPnotify(params);
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment