每次重新打开时,我的Visual Studio 2015(RTM)都会重置我的一些调整(例如自动大括号完成).
我在管理员模式下运行它并尝试devenv/resetsettings并重新安装,但这没有帮助.
任何想法如何解决这个问题将不胜感激.
我的第一张桌子 list_info
list_id | list_name | list_link | list_extrafee | list_reviews
------------------------------------------------------------------------
4852 | List One | /list1 | $4 after 3 guests | 56
4853 | List Two | /list2 | $10 after 5 guests | 42
4854 | List Three | /list3 | $40 after 8 guests | 32
4855 | List Four | /list4 | FREE | 14
Run Code Online (Sandbox Code Playgroud)
第二张桌子 list_price
list_id | dates | list_price | list_avilable
------------------------------------------------------
4852 | 4/12/2015 | 55 | TRUE
4852 | …Run Code Online (Sandbox Code Playgroud) 我有一个 jQuery 函数,它看起来像这样:
function unlock_reservation_columns(resid) {
$('.unlock-columns').click( function(event) {
event.preventDefault();
$(this).closest('tr').find('.columns-locked').removeClass('columns-locked');
$(this).html('<i class="fa fa-lock"></i> Lock Columns');
$(this).attr('class', 'lock-columns');
new PNotify({
title: 'We have unlocked this reservation..',
text: 'Reservation Unlocked',
type: 'success'
});
var url = $(this).attr("href");
var url_id = url.replace(/[^0-9]/g, '')
$.get(url, function (data) {
var confirm_changes = confirm('Do you wish to edit unlocked information?');
if (confirm_changes) {
window.location.href = '/reservations/database/edit/' + url_id;
}
else {
location.reload()
return false;
}
});
});
});
<a class="unlock-columns" href="<?php echo $row->unlock_url; ?>"><i class="fa …Run Code Online (Sandbox Code Playgroud)