Skip to content

Commit

Permalink
More robust way to generate add event view.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdesvenain committed Apr 23, 2014
1 parent c179e37 commit 4c88347
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Expand Up @@ -4,6 +4,12 @@ Changelog
2.3.4 (unreleased)
------------------

- solgemafullcalendar.js is got from portal_url, not from context url
[thomasdesvenain]

- More robust way to generate add event view.
[thomasdesvenain]

- For an IATFolder, the search path is the folder itself, not the target_folder.
[sgeulette, anuyens]

Expand Down
Expand Up @@ -301,13 +301,14 @@ var SolgemaFullcalendar = {
},
openAddMenu: function (start, end, allDay, event, view) {
if(SolgemaFullcalendarVars.disableAJAX) { return; }
var url = jq('base').attr('href') + '/@@SFDisplayAddMenu';
jq.ajax({
type : 'POST',
url : './@@SFDisplayAddMenu',
type : 'POST',
url : url,
dataType: "json",
async: true,
data : {},
success : function(msg) {
async: true,
data : {},
success : function(msg) {
if (msg['display']) {
var data = new Object;
var startMonth = start.getMonth()+1;
Expand Down

0 comments on commit 4c88347

Please sign in to comment.