Skip to content

Commit

Permalink
Don't use reserved words.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed May 4, 2016
1 parent 56f3671 commit b1a60f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/kronolith.js
Expand Up @@ -3286,7 +3286,7 @@ KronolithCore = {
$('kronolithCalendar' + type + 'EmbedUrl').enable();
if (info.edit) {
$('kronolithCalendarinternalImport').enable();
if (info.delete) {
if (info.del) {
$('kronolithCalendarinternalImportOver').enable();
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Ajax.php
Expand Up @@ -120,7 +120,7 @@ protected function _addBaseVars()
'show' => Horde_Perms::SHOW,
'read' => Horde_Perms::READ,
'edit' => Horde_Perms::EDIT,
'delete' => Horde_Perms::DELETE,
'del' => Horde_Perms::DELETE,
'delegate' => Kronolith::PERMS_DELEGATE
),
'tasks' => $has_tasks ? $registry->tasks->ajaxDefaults() : null,
Expand Down

0 comments on commit b1a60f1

Please sign in to comment.