<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Editor's cross button close event handling in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-s-cross-button-close-event-handling/m-p/281423#M25988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is an old post, but I thought I would reply in case someone else comes across it searching.&amp;nbsp; I was looking for the same and came up with the solution below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dojo.connect(map.infoWindow._hide, "onclick", function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp; //your code here.&amp;nbsp; This will only be called when a user clicks the "x" or close button.
&amp;nbsp;&amp;nbsp;&amp;nbsp; //The infoWindow also has an onhide event that is called more often ( whenever the map is clicked or the info window is closed with escape key or close button clicked).
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 13:38:35 GMT</pubDate>
    <dc:creator>SebastianRoberts</dc:creator>
    <dc:date>2021-12-11T13:38:35Z</dc:date>
    <item>
      <title>Editor's cross button close event handling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-s-cross-button-close-event-handling/m-p/281422#M25987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use esri.dijit.editing.Editor and want to change the behaviour of the cross button in the edit dialog which appears when a new feature has been added. In particular, I don't want to create a new feature if the validation failed. So I tried to use onCancel, onClose, onHide events in the Editor and in the Editor's AttributeInspector. All these events don't arise when the edit dialog has been closed. I tried to find this cross button object in the Editor - but without success. Do you know the name of this button or another way to handle close event?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 11:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-s-cross-button-close-event-handling/m-p/281422#M25987</guid>
      <dc:creator>KirillLykov</dc:creator>
      <dc:date>2011-05-23T11:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Editor's cross button close event handling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-s-cross-button-close-event-handling/m-p/281423#M25988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is an old post, but I thought I would reply in case someone else comes across it searching.&amp;nbsp; I was looking for the same and came up with the solution below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dojo.connect(map.infoWindow._hide, "onclick", function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp; //your code here.&amp;nbsp; This will only be called when a user clicks the "x" or close button.
&amp;nbsp;&amp;nbsp;&amp;nbsp; //The infoWindow also has an onhide event that is called more often ( whenever the map is clicked or the info window is closed with escape key or close button clicked).
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-s-cross-button-close-event-handling/m-p/281423#M25988</guid>
      <dc:creator>SebastianRoberts</dc:creator>
      <dc:date>2021-12-11T13:38:35Z</dc:date>
    </item>
  </channel>
</rss>

