summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/views/scripts/event/index.phtml19
1 files changed, 13 insertions, 6 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index 3bb0fe3..d61fde2 100644
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -89,6 +89,7 @@ var selectedEvent = null; // keydown variable
}
},
open: function () {
+ $(".ui-dialog-titlebar-close").hide();
//$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
}
});
@@ -116,6 +117,7 @@ var selectedEvent = null; // keydown variable
}
},
open: function () {
+ $(".ui-dialog-titlebar-close").hide();
//$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
}
});
@@ -145,7 +147,7 @@ var selectedEvent = null; // keydown variable
defaultView: 'agendaWeek',
allDay : false,
allowCalEventOverlap: false,
- overlapEventsSeparate: false,
+ overlapEventsSeparate: false,
slotMinutes: 30,
defaultEventMinutes: 30,
@@ -175,9 +177,8 @@ var selectedEvent = null; // keydown variable
*event.dblclick(alert('test'););
*$('#calendar').dblclick(function() { self.location = "/event/edit/eventID/" + event.id;});
*/
- $(this).css('opacity', .5);
- //eventSelected(event);
+ eventSelected(event);
},
@@ -203,6 +204,7 @@ var selectedEvent = null; // keydown variable
}
},
open: function () {
+ $(".ui-dialog-titlebar-close").hide();
//$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
}
});
@@ -237,7 +239,7 @@ var selectedEvent = null; // keydown variable
autoOpen: false,
width: 600,
modal: true,
- title: "Try to resize " + event.title + " !",
+ title: "ERROR: Try to resize " + event.title,
buttons: {
"OK": function() {
$(this).dialog("close");
@@ -245,7 +247,8 @@ var selectedEvent = null; // keydown variable
}
},
open: function () {
- $(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
+ $(".ui-dialog-titlebar-close").hide();
+ $(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
}
});
});
@@ -259,7 +262,7 @@ var selectedEvent = null; // keydown variable
autoOpen: false,
width: 600,
modal: true,
- title: "Try to resize " + event.title + " !",
+ title: "ERROR: Try to resize " + event.title,
buttons: {
"OK": function() {
$(this).dialog("close");
@@ -267,6 +270,7 @@ var selectedEvent = null; // keydown variable
}
},
open: function () {
+ $(".ui-dialog-titlebar-close").hide();
$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
}
});
@@ -279,6 +283,7 @@ var selectedEvent = null; // keydown variable
}
},
open: function () {
+ $(".ui-dialog-titlebar-close").hide();
//$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
}
});
@@ -305,6 +310,7 @@ var selectedEvent = null; // keydown variable
}
},
open: function () {
+ $(".ui-dialog-titlebar-close").hide();
//$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
}
});
@@ -421,6 +427,7 @@ var selectedEvent = null; // keydown variable
}
},
open: function () {
+ $(".ui-dialog-titlebar-close").hide();
$(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar").addClass("ui-state-error");
}
});