FogBugz » TimeIntervalCommentsPlugin http://fogbugz.stackexchange.com/questions/3316
Clone URL:  
Pushed to one repository · View In Graph Contained in version_0-2-0-0, version_0-2-0-1, and tip

moved js to change the hidden value of the ixInterval field and the current comment to after the shtml set

Changeset d538b01283e6

Parent f77da6f85980

by Adam Wishneusky

Changes to 2 files · Browse files at d538b01283e6 Showing diff from parent f77da6f85980 Diff from another changeset...

 
39
40
41
42
43
 
 
 
39
40
41
 
 
42
43
@@ -39,5 +39,5 @@
 // You can specify all the values or you can default the Build and Revision Numbers  // by using the '*' as shown below:  // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.1.1.2")] -[assembly: AssemblyFileVersion("0.1.1.2")] +[assembly: AssemblyVersion("0.1.1.5")] +[assembly: AssemblyFileVersion("0.1.1.5")]
 
12
13
14
15
16
17
18
19
20
 
21
 
 
22
23
24
 
12
13
14
 
 
 
 
 
 
15
16
17
18
19
20
21
@@ -12,13 +12,10 @@
  '</div>' +   '<br /><nobr><input type="submit" value="' + FB_OK + '" class="dlgButton"> ' +   '<input type="button" onclick="TimeIntervalExamplePlugin.Popup.hide(); return false;" value="' + FB_CANCEL+ '" class="dlgButton"></nobr>' + - '</form>' + - '<script type="text/javascript">' + - 'alert("foo");' + - '$("form#TimeIntervalExamplePluginForm input[name=ixInterval]").val("' + elPopupAnchor.attributes.getNamedItem("ixInterval").value + '");' + - 'getTimeIntervalComment(' + elPopupAnchor.attributes.getNamedItem("ixInterval").value + ');' + - '</script>'); + '</form>');   oSelf.Popup.showPopup(elPopupAnchor); + $("form#TimeIntervalExamplePluginForm input[name=ixInterval]").val(elPopupAnchor.attributes.getNamedItem('ixInterval').value); + getTimeIntervalComment(elPopupAnchor.attributes.getNamedItem('ixInterval').value);   return false;   }