Requires

Provides

Link.js

A link that does requests and actions

License:
Public domain (http://unlicense.org).
Authors:
Yaroslaff Fedin
  1. 30
  2. 31
  3. 32
  4. 33
  5. 34
  6. 35
  7. 36
  8. 37
  9. 38
  10. 39
  11. 40
  12. 41
  13. 42
  14. 43
  15. 44
  16. 45
  17. 46
  18. 47
  19. 48
  20. 49
  21. 50
  22. 51
  23. 52
  24. 53
  25. 54
  26. 55
  27. 56
  28. 57
LSD.Node.Link = new Class({ Includes: [ LSD.Node, LSD.Module.Attributes, LSD.Module.Events, LSD.Module.Layout, LSD.Module.Command, LSD.Module.Actions, LSD.Module.Target, LSD.Mixin.Request, LSD.Mixin.Dialog ], options: { request: { type: 'form' }, layout: { instance: false, extract: true } }, click: function(event) { if (event && event.preventDefault) event.preventDefault(); if (!this.disabled) return this.parent.apply(this, arguments); } });