[Erp5-report] r37876 nicolas.dumazet - in /erp5/trunk/bt5/erp5_popup_ui: SkinTemplateItem/p...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Aug 18 11:07:19 CEST 2010


Author: nicolas.dumazet
Date: Wed Aug 18 11:07:15 2010
New Revision: 37876

URL: http://svn.erp5.org?rev=37876&view=rev
Log:
2010-08-18
* Also inhibit button.save (usual disk image on views) so that saving a view updates inside the dialog

Modified:
    erp5/trunk/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml
    erp5/trunk/bt5/erp5_popup_ui/bt/change_log
    erp5/trunk/bt5/erp5_popup_ui/bt/revision

Modified: erp5/trunk/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml?rev=37876&r1=37875&r2=37876&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml [utf8] Wed Aug 18 11:07:15 2010
@@ -133,7 +133,7 @@ $(function() {\n
           // Insert the same buttons as at the bottom into near the top.\n
           $(\'div.bottom_actions\', dialog).clone().insertAfter($(\'div.dialog_box\', dialog)).css(\'margin-bottom\', \'1em\');\n
 \n
-          $(\'input[type="image"], button.sort_button, .dialog_selector > button\', dialog).click(function(event) {\n
+          $(\'input[type="image"], button.sort_button, .dialog_selector > button, button.save\', dialog).click(function(event) {\n
             event.preventDefault();\n
             var self = $(this);\n
             var form = $(\'form.main_form\', dialog);\n

Modified: erp5/trunk/bt5/erp5_popup_ui/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_popup_ui/bt/change_log?rev=37876&r1=37875&r2=37876&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_popup_ui/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_popup_ui/bt/change_log [utf8] Wed Aug 18 11:07:15 2010
@@ -1,5 +1,6 @@
 2010-08-18
 * Refactor/simplify in order to extend jQuery with a erp5_popup function that can be re-used in other scripts/projects.
+* Also inhibit button.save (usual disk image on views) so that saving a view updates inside the dialog
 
 2010-07-01 yo
 * Fix a bug that scripts in every fetched document may be executed. Otherwise, ready callbacks can be executed many times.

Modified: erp5/trunk/bt5/erp5_popup_ui/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_popup_ui/bt/revision?rev=37876&r1=37875&r2=37876&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_popup_ui/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_popup_ui/bt/revision [utf8] Wed Aug 18 11:07:15 2010
@@ -1 +1 @@
-12
\ No newline at end of file
+15
\ No newline at end of file




More information about the Erp5-report mailing list