| 1 | // http://civicrm.org/licensing |
| 2 | // Opens the "new item" dialog after creating a container/set |
| 3 | CRM.$(function($) { |
| 4 | var emptyMsg = $('.crm-empty-table'); |
| 5 | if (emptyMsg.length) { |
| 6 | $('.action-link a.button', '#crm-container').click(); |
| 7 | } |
| 8 | }); |