1
0

video.m 373 B

123456789101112131415
  1. #include <lib/std.mi>
  2. #include "attribs.m"
  3. Global Button btnVideoReattach;
  4. System.onScriptLoaded() {
  5. initAttribs();
  6. BtnVideoReattach = getScriptGroup().findObject("button.video.reattach");
  7. }
  8. BtnVideoReattach.onLeftClick() {
  9. Container c = getContainer("main");
  10. if (c.getLayout("shade").isVisible()) c.switchToLayout("normal");
  11. video_detach_attrib.setData("0");
  12. }