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  0e742ba34d1f69bf66c48bd7ce64327e0e5ee794 (commit)
      from  7ca1f891ba7bfc0e10731d1b254d78e2e018f483 (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=0e742ba34d1f69bf66c48bd7ce64327e0e5ee794

commit 0e742ba34d1f69bf66c48bd7ce64327e0e5ee794
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Tue Apr 25 18:41:17 2017 +0200

    Add alert when removing a block

diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 3e1df0e..2a35e52 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -1094,7 +1094,7 @@ abstract class Layout extends FFError {
                if (!$readonly) {
                        if ($widget->canBeRemove()) {
                                echo html_e('div', array('class' => 
'widget_titlebar_close'),
-                                       
util_make_link('/widgets/updatelayout.php?owner='.$owner_type.$owner_id.'&action=widget&name%5B'.$widget->id.'%5D%5Bremove%5D='.$widget->getInstanceId().'&column_id='.$column_id.'&layout_id='.$layout_id,
 $this->getPicto('ic/close.png', _('Close'), _('Close'))));
+                                       
util_make_link('/widgets/updatelayout.php?owner='.$owner_type.$owner_id.'&action=widget&name%5B'.$widget->id.'%5D%5Bremove%5D='.$widget->getInstanceId().'&column_id='.$column_id.'&layout_id='.$layout_id,
 $this->getPicto('ic/close.png', _('Remove block'), _('Remove block')), 
array('onclick' => 'return confirm('."'"._('Do you really want to remove this 
block?')."'".');')));
                        }
                        if ($widget->canBeMinize()) {
                                if ($is_minimized) {

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

Summary of changes:
 src/www/include/Layout.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge

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

Reply via email to