Fix scripts where broken jQuery might cause issues

서드파티 자료에서 jQuery의 $를 덮어써 버릴 경우 발생할 수 있는 문제를
미리 차단하기 위해 다소 보수적으로 코딩함
This commit is contained in:
Kijin Sung 2017-07-02 00:48:52 +09:00
parent 21072195c0
commit c96d586827
12 changed files with 12 additions and 12 deletions

View file

@ -1,4 +1,4 @@
$(function()
jQuery(function($)
{
"use strict";

View file

@ -110,7 +110,7 @@
</section>
<script>
$(function() {
jQuery(function($) {
$("a.delete_domain").on("click", function(event) {
event.preventDefault();
var domain = $(this).data("domain");

View file

@ -65,7 +65,7 @@
<!--[if lt IE 9]>
<script>
$(function() {
jQuery(function($) {
$('#checkBrowserMessage').show();
});
</script>

View file

@ -79,4 +79,4 @@
});
} (jQuery));
})(jQuery);

View file

@ -48,4 +48,4 @@
});
} (jQuery));
})(jQuery);

View file

@ -40,4 +40,4 @@
});
} (jQuery));
})(jQuery);

View file

@ -12,4 +12,4 @@
});
} (jQuery));
})(jQuery);

View file

@ -45,7 +45,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
</block>
<script>
$(function(){
jQuery(function($){
"use strict";
<!--@if(!FileHandler::exists('common/js/plugins/ckeditor/ckeditor/config.js'))-->CKEDITOR.config.customConfig = '';<!--@endif-->

View file

@ -3,7 +3,7 @@
<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>
<script>
$(function(){
jQuery(function($){
"use strict";
// Set editor styles

View file

@ -18,7 +18,7 @@
</div>
</div>
<script>
$(function() {
jQuery(function($) {
$("button.delete_autologin").on("click", function(event) {
event.preventDefault();
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {

View file

@ -34,7 +34,7 @@
</ul>
</div>
<script>
$(function() {
jQuery(function($) {
$("button.delete_autologin").on("click", function(event) {
event.preventDefault();
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {

View file

@ -35,7 +35,7 @@
<a href="{getUrl('selected_module_srl','')}" cond="$selected_module_srl">{lang('common.cmd_cancel')}</a>
</div>
<script>
$(function() {
jQuery(function($) {
$("a.delete_autologin").on("click", function(event) {
event.preventDefault();
exec_json('member.procMemberDeleteAutologin', { autologin_id: $(this).data("autologin-id"), autologin_key: $(this).data("autologin-key") }, function(data) {