Author: hnategh
Date: Wed Apr 27 12:36:59 2016
New Revision: 55879
URL: http://svn.stylite.de/viewvc/egroupware?rev=55879&view=rev
Log:
Fix add participants does not work with multiple items in calendar edit
Modified:
trunk/calendar/js/app.js
Modified: trunk/calendar/js/app.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/js/app.js?rev=55879&r1=55878&r2=55879&view=diff
==============================================================================
--- trunk/calendar/js/app.js (original)
+++ trunk/calendar/js/app.js Wed Apr 27 12:36:59 2016
@@ -1128,7 +1128,7 @@
var add = this.et2.getWidgetById('add');
var participant = this.et2.getWidgetById('participant');
- add.set_readonly(!Number(participant.get_value()));
+ add.set_readonly(participant.get_value().length <= 0);
},
/**
@@ -1913,7 +1913,7 @@
{
$j(view.etemplates[i].DOMContainer).show();
}
-
+
/*
If the count is different, we need to have the correct number
If the count is > 1, it's either because there are multiple date spans (weekN, month) and we need the correct span
@@ -2022,7 +2022,7 @@
var a_scroll = $j('.calendar_calTimeGridScroll',a).scrollTop();
var b = grid._children[1].getDOMNode().parentNode.parentNode;
a.parentNode.insertBefore(a,b);
-
+
// Moving nodes changes scrolling, so set it back
var a_scroll = $j('.calendar_calTimeGridScroll',a).scrollTop(a_scroll);
}
@@ -2087,7 +2087,7 @@
// Do not need to re-set this row, but we do need to re-do
// the times, as they may have changed
widget.resizeTimes();
-
+
// Hide loader
widget.loader.hide();
row_index++;
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.