jingwenwang

Undo Manager

Discussion created by jingwenwang on Jan 22, 2013
Latest reply on Jan 22, 2013 by jingwenwang
Hi everyone,

I'm trying to add the undo and redo buttons for graphics drawing. This is the example that describe the graphics with undo/redo:
http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/graphics_undoredo

However, the example in the above link even doesn't work correctly.

I'm not quite understand this part of the code:
<script>var dojoConfig = {
        parseOnLoad:true,
        packages: [{
          "name": "myModules",
          "location": location.pathname.replace(/\/[^/]+$/, "") + "myModules"
        }]
      };
    </script>


Could anyone help me to figure out what should I do for this package? Thanks guys!

Sincerely,
Jessica

Outcomes