[open-ils-commits] [GIT] Evergreen ILS branch master updated. fab404955b4f1044c072df7200e5e0760b9adbf9

Evergreen Git git at git.evergreen-ils.org
Thu Aug 15 20:41:05 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  fab404955b4f1044c072df7200e5e0760b9adbf9 (commit)
      from  bcb54d4fe255135f00726fbb9c923d3a38d1e76f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fab404955b4f1044c072df7200e5e0760b9adbf9
Author: Steven Chan <schan at sitka.bclibraries.ca>
Date:   Mon Aug 5 12:13:54 2013 -0400

    Fix LP985075, cannot save Patron Acquisition Request form
    
    The form is shown using a dojo EditPane attached to an EditDialog,
    however, attaching the pane was done manually, resulting in the dialog
    acting improperly and the pane positioned improperly.
    
    Instead, we use dojo's attr method to define the content attribute of
    the dialog to be the pane.
    
    Signed-off-by: Steven Chan <schan at sitka.bclibraries.ca>
    Signed-off-by: Remington Steed <rjs7 at calvin.edu>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/web/js/dojo/openils/widget/EditDialog.js b/Open-ILS/web/js/dojo/openils/widget/EditDialog.js
index 08a22de..bcdeb56 100644
--- a/Open-ILS/web/js/dojo/openils/widget/EditDialog.js
+++ b/Open-ILS/web/js/dojo/openils/widget/EditDialog.js
@@ -50,8 +50,7 @@ if(!dojo._hasResource['openils.widget.EditDialog']) {
              */
             startup : function() {
                 this.inherited(arguments);
-                this.editPane.startup();
-                this.domNode.appendChild(this.editPane.domNode);
+                this.attr('content', this.editPane);
                 openils.Util.addCSSClass(this.editPane.table, 'oils-fm-edit-dialog');
             }
         }

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/web/js/dojo/openils/widget/EditDialog.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list