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 "FusionForge".

The branch, master has been updated
       via  41298f7fcb0f1adbcf1f425347c89dd0479a27bb (commit)
      from  1956bb03f62a0d943f3159de1872e4556a76ebc3 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=41298f7fcb0f1adbcf1f425347c89dd0479a27bb

commit 41298f7fcb0f1adbcf1f425347c89dd0479a27bb
Author: Franck Villaume <[email protected]>
Date:   Sat Sep 24 13:22:25 2016 +0200

    use util_make_uri

diff --git a/src/common/widget/WidgetLayout.class.php 
b/src/common/widget/WidgetLayout.class.php
index 86d30e2..6274d72 100644
--- a/src/common/widget/WidgetLayout.class.php
+++ b/src/common/widget/WidgetLayout.class.php
@@ -50,7 +50,7 @@ class WidgetLayout {
                        $this->rows[$key]->display($readonly, $owner_id, 
$owner_type);
                }
                if (!$readonly) {
-                       $url_prefix = forge_get_config('url_prefix');
+                       $url = util_make_uri('/widgets/updatelayout.php');
                        $cells = "['". implode("', '", $this->getColumnIds()) 
."']";
                        echo <<<EOS
                                <script type='text/javascript'>/* <![CDATA[ */
@@ -64,7 +64,7 @@ class WidgetLayout {
                                                        placeholder: 
'ui-state-highlight',
                                                        handle: 
'.widget_titlebar_handle',
                                                        update: function 
(event, ui) {
-                                                               var urlparams = 
'$url_prefix/widgets/updatelayout.php?owner=$owner_type'+$owner_id+'&layout_id='+$this->id;
+                                                               var urlparams = 
'$url?owner=$owner_type'+$owner_id+'&layout_id='+$this->id;
                                                                
jQuery('#'+value).children('div').each(function(){
                                                                        
urlparams += '&'+value+'[]='+jQuery(this).attr('id').replace('widget_','');
                                                                        });

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

Summary of changes:
 src/common/widget/WidgetLayout.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to