Skip to content

Commit 24f5de6

Browse files
committed
Fix error with read permissions
1 parent f069d6e commit 24f5de6

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

js/cu-handler.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/js/bootbox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@
657657
var closeButton = $(templates.closeButton);
658658

659659
if (options.title) {
660-
dialog.find(".modal-header").append(closeButton);
660+
dialog.find(".modal-header").prepend(closeButton);
661661
} else {
662662
closeButton.css("margin-top", "-10px").prependTo(body);
663663
}

src/js/js/cu-handler.js

-3
Original file line numberDiff line numberDiff line change
@@ -795,10 +795,7 @@ var cuHandler = {
795795
* @param options To be passed to PNotify plugin
796796
*/
797797
notify: function (options) {
798-
799-
//PNotify.prototype.options.styling = 'bootstrap3';
800798
return new PNotify(options);
801-
802799
},
803800

804801
/**

src/prepros.config

+6-3
Original file line numberDiff line numberDiff line change
@@ -979,9 +979,12 @@
979979
"file": "js/js/cu-handler.js",
980980
"config": {
981981
"autoCompile": true,
982-
"sourceMap": false,
983-
"compileImported": false,
984-
"customOutput": "../js/cu-handler.js"
982+
"customOutput": "../js/cu-handler.js",
983+
"tasks": {
984+
"concat-js": {
985+
"enable": true
986+
}
987+
}
985988
}
986989
},
987990
{

templates/rmc-groups-form.php

-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@
8181
</label>
8282
</div>
8383
<?php foreach ($modules as $module): ?>
84-
<?php if (!$module->hasmain) {
85-
continue;
86-
} ?>
8784
<div class="checkbox">
8885
<label>
8986
<input

0 commit comments

Comments
 (0)