src/pyams_skin/resources/js/myams.js
changeset 130 38dc70be3cfa
parent 125 d294083fb28c
child 136 cdad4eadfd43
equal deleted inserted replaced
129:cfb49c7b62a9 130:38dc70be3cfa
  2371 						}
  2371 						}
  2372 						// If running in async mode, registered plug-ins are run
  2372 						// If running in async mode, registered plug-ins are run
  2373 						// before callback is called so we call plug-in manually
  2373 						// before callback is called so we call plug-in manually
  2374 						if (callbacks && (plugin.async !== false)) {
  2374 						if (callbacks && (plugin.async !== false)) {
  2375 							for (index=0; index < callbacks.length; index++) {
  2375 							for (index=0; index < callbacks.length; index++) {
  2376 								callbacks[index](element);
  2376 								ams.getFunctionByName(callbacks[index])(element);
  2377 							}
  2377 							}
  2378 						}
  2378 						}
  2379 					}, {
  2379 					}, {
  2380 						async: plugin.async === undefined ? true : plugin.async
  2380 						async: plugin.async === undefined ? true : plugin.async
  2381 					});
  2381 					});