Skip to content

Commit

Permalink
fix contextmenu on linux system
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Phuong committed Nov 9, 2016
1 parent 59a8214 commit 31f5213
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 35 deletions.
12 changes: 2 additions & 10 deletions composer.json
Expand Up @@ -29,8 +29,7 @@
"bower-asset/fontawesome" : "^4.6",
"bower-asset/patternfly-bootstrap-treeview" : "~2.1",
"bower-asset/jquery.lazyload" : "~1.9",
"bower-asset/fancybox" : "~2.1",
"bower-asset/jquery-contextmenu" : "~2.3"
"bower-asset/fancybox" : "~2.1"
},
"conflict" : {
"skeeks/yii2-assets-auto-compress" : "1.2.*"
Expand All @@ -41,13 +40,6 @@
}
},
"extra" : {
"bootstrap" : "navatech\\roxymce\\Bootstrap",
"asset-repositories" : [
{
"name": "bower-asset/jquery-contextmenu",
"type": "bower-vcs",
"url": "https://github.com/swisnl/jQuery-contextMenu.git"
}
]
"bootstrap" : "navatech\\roxymce\\Bootstrap"
}
}
25 changes: 0 additions & 25 deletions src/assets/ContextMenuAsset.php

This file was deleted.

2 changes: 2 additions & 0 deletions src/assets/RoxyMceAsset.php
Expand Up @@ -38,9 +38,11 @@ public function init() {
];
$this->css = [
YII_ENV_DEV ? 'css/roxy.css' : 'css/roxy.min.css',
'css/jquery.contextMenu.min.css',
];
$this->js = [
YII_ENV_DEV ? 'js/roxy.js' : 'js/roxy.min.js',
'jquery.contextMenu.min.js',
];
Yii::$app->view->registerJs('var msg_somethings_went_wrong = "' . Yii::t('roxy', 'Somethings went wrong') . '",
msg_empty_directory = "' . Yii::t('roxy', 'Empty directory') . '",
Expand Down
16 changes: 16 additions & 0 deletions src/web/css/jquery.contextMenu.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions src/web/js/jquery.contextMenu.min.js

Large diffs are not rendered by default.

0 comments on commit 31f5213

Please sign in to comment.