mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix scripts where broken jQuery might cause issues
서드파티 자료에서 jQuery의 $를 덮어써 버릴 경우 발생할 수 있는 문제를 미리 차단하기 위해 다소 보수적으로 코딩함
This commit is contained in:
parent
21072195c0
commit
c96d586827
12 changed files with 12 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
$(function()
|
jQuery(function($)
|
||||||
{
|
{
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
jQuery(function($) {
|
||||||
$("a.delete_domain").on("click", function(event) {
|
$("a.delete_domain").on("click", function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
var domain = $(this).data("domain");
|
var domain = $(this).data("domain");
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
jQuery(function($) {
|
||||||
$('#checkBrowserMessage').show();
|
$('#checkBrowserMessage').show();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -79,4 +79,4 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
} (jQuery));
|
})(jQuery);
|
||||||
|
|
|
||||||
|
|
@ -48,4 +48,4 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
} (jQuery));
|
})(jQuery);
|
||||||
|
|
|
||||||
|
|
@ -40,4 +40,4 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
} (jQuery));
|
})(jQuery);
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,4 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
} (jQuery));
|
})(jQuery);
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
jQuery(function($){
|
||||||
"use strict";
|
"use strict";
|
||||||
<!--@if(!FileHandler::exists('common/js/plugins/ckeditor/ckeditor/config.js'))-->CKEDITOR.config.customConfig = '';<!--@endif-->
|
<!--@if(!FileHandler::exists('common/js/plugins/ckeditor/ckeditor/config.js'))-->CKEDITOR.config.customConfig = '';<!--@endif-->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<div id="textarea_wrapper_{$editor_sequence}" class="rx_editor_wrapper">
|
<div id="textarea_wrapper_{$editor_sequence}" class="rx_editor_wrapper">
|
||||||
<textarea id="textarea_instance_{$editor_sequence}" class="rx_editor_textarea {$colorset}" data-editor-sequence="{$editor_sequence}" data-editor-primary-key-name="{$editor_primary_key_name}" data-editor-content-key-name="{$editor_content_key_name}"></textarea>
|
<textarea id="textarea_instance_{$editor_sequence}" class="rx_editor_textarea {$colorset}" data-editor-sequence="{$editor_sequence}" data-editor-primary-key-name="{$editor_primary_key_name}" data-editor-content-key-name="{$editor_content_key_name}"></textarea>
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
jQuery(function($){
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Set editor styles
|
// Set editor styles
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
jQuery(function($) {
|
||||||
$("button.delete_autologin").on("click", function(event) {
|
$("button.delete_autologin").on("click", function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {
|
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
jQuery(function($) {
|
||||||
$("button.delete_autologin").on("click", function(event) {
|
$("button.delete_autologin").on("click", function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {
|
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
<a href="{getUrl('selected_module_srl','')}" cond="$selected_module_srl">{lang('common.cmd_cancel')}</a>
|
<a href="{getUrl('selected_module_srl','')}" cond="$selected_module_srl">{lang('common.cmd_cancel')}</a>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
jQuery(function($) {
|
||||||
$("a.delete_autologin").on("click", function(event) {
|
$("a.delete_autologin").on("click", function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {
|
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue