Geen omschrijving

display.js 366B

12345678910111213141516
  1. ;
  2. spa_define(function() {
  3. return $.use(["spa","form"], function(spa,fb) {
  4. return {
  5. modal: function(data) {
  6. var root = spa.findInModal(".sys_right_display");
  7. var form = fb.build(root.find(".newForm"));
  8. root.find(".modal-ctrl .icon-times").on("click", function() {
  9. spa.closeModal();
  10. });
  11. form.val(data);
  12. }
  13. };
  14. });
  15. });