2005-12-25 Sebastian Kurfuerst <sebastian@garbage-group.de>
authorSebastian Kurfürst <sebastian.kurfuerst@typo3.org>
Sun, 25 Dec 2005 20:26:09 +0000 (20:26 +0000)
committerSebastian Kurfürst <sebastian.kurfuerst@typo3.org>
Sun, 25 Dec 2005 20:26:09 +0000 (20:26 +0000)
* Fixed bug #2087, introduced by #1078
* Marked t3lib_ajax as subject to change

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@933 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_ajax.php
t3lib/class.t3lib_tceforms.php

index 5e94af1..af6986c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-25  Sebastian Kurfuerst  <sebastian@garbage-group.de>
+
+       * Fixed bug #2087, introduced by #1078
+       * Marked t3lib_ajax as subject to change
+
 2005-12-25  Dmitry Dulepov  <typo3@accio.lv>
 
        * typo3/mod/user/ws/class.mod_user_ws_workspaceforms.php: renamed to workspaceforms.php
index 369299a..71dfc12 100644 (file)
@@ -28,6 +28,9 @@
  * Contains the class "t3lib_ajax" containing functions for doing XMLHTTP requests to the TYPO3 backend and as well for generating replys. This technology is also known as ajax.
  * Call ALL methods without making an object!
  *
+ * IMPORTANT NOTICE: The API the class provides is still NOT STABLE and SUBJECT TO CHANGE!
+ * It is planned to integrate an external AJAX library, so the API will most likely change again.
+ *
  * @author     Sebastian Kurfuerst <sebastian@garbage-group.de>
  */
 
index c32d336..49e435e 100755 (executable)
@@ -739,7 +739,7 @@ class t3lib_TCEforms        {
                                                && $GLOBALS['BE_USER']->jsConfirmation(1))      {
                                        $alertMsgOnChange = 'if (confirm('.$GLOBALS['LANG']->JScharCode($this->getLL('m_onChangeAlert')).') && TBE_EDITOR_checkSubmit(-1)){ TBE_EDITOR_submitForm() };';
                                } else {
-                                       $alertMsgOnChange = 'if(TBE_EDITOR_checkSubmit(-1)){ TBE_EDITOR_submitForm();}';
+                                       $alertMsgOnChange = '';
                                }
 
                                        // Render as a hidden field?