Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet Web Control - Touch screen nightmare!

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    3
    4
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Merlinundefined
      Merlin
      last edited by

      I'm driving a Delta printer based on DC42 large delta but with 'Midi' dimensions including 300mm DIA bed and 24V heated bed, powered by Duet Wifi.
      I'm using a 10" Asus Android touch screen Tablet running Duet Web Control, and a Volcano type hot end.
      So 9 hours into a 14 hour print I hit pause to tidy away a NIU secondary print fan that was about to foul the Z drive belt.
      Then my clumsy large finger hit the 'Cancel' instead of the 'Resume' button !!
      Please, Please can these buttons have a larger separation?
      Better still pop up a "Confirm Y/N" window when 'Cancel' is touched/clicked.

      1 Reply Last reply Reply Quote 0
      • DuetUserundefined
        DuetUser
        last edited by

        You are right it's easy to incidentally cancel the print.
        If you'd like a confirmation window after hitting cancel just replace lines 349 - 352 in the file www/js/interface.js which are:

        [[language]]
        $("#btn_cancel").click(function() {
        	sendGCode("M0 H1");	// Stop / Cancel Print, but leave all the heaters on
        	$(this).addClass("disabled");
        });
        
        ```with these:
        

        [[language]]
        $("#btn_cancel").click(function() {
        showConfirmationDialog(T("Cancel print"), T("This will irrevocably cancel your print.

        Are you REALLY sure you want to do this?"),
        function() {
        sendGCode("M0 H1"); // Stop / Cancel Print, but leave all the heaters on
        $(this).addClass("disabled");
        });
        });

        Then tell me if it works.

        peter

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators
          last edited by

          If you are using a DuetWifi you need to package up DWC after making any changes. See the readme file here:

          https://github.com/chrishamm/DuetWebControl

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • Merlinundefined
            Merlin
            last edited by

            Thanks.
            I'll try that and let you know how I get on.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA