Browse Source

rename modal.onClose() arg for similarity with modal.onResume()

readme-update
Simon Grim 8 years ago
parent
commit
43a1e8b3c8
  1. 2
      js/interface_common.js

2
js/interface_common.js

@ -120,7 +120,7 @@ function closeModal(req, switchMode) { @@ -120,7 +120,7 @@ function closeModal(req, switchMode) {
this.remove(); // if it's minimized it will be removed with twister.modal[i].drapper
if (typeof twister.modal[i].onClose === 'function')
twister.modal[i].onClose(twister.modal[i].closeArg);
twister.modal[i].onClose(twister.modal[i].onCloseReq);
twister.modal[i].drapper.remove();
twister.modal[i] = undefined;

Loading…
Cancel
Save