Debugging Mono Ajax calls III
This commit is contained in:
@@ -85,7 +85,7 @@ namespace Swarmops.Logic.Support
|
||||
sql = client.DownloadString (fileName);
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception outerException)
|
||||
{
|
||||
Console.WriteLine(" trying fallback...");
|
||||
|
||||
@@ -99,9 +99,19 @@ namespace Swarmops.Logic.Support
|
||||
sql = client.DownloadString(fileName);
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception middleException)
|
||||
{
|
||||
OutboundComm.CreateNotification(null, NotificationResource.System_DatabaseUpgradeFailed);
|
||||
try
|
||||
{
|
||||
OutboundComm.CreateNotification (null, NotificationResource.System_DatabaseUpgradeFailed);
|
||||
}
|
||||
catch (ArgumentException)
|
||||
{
|
||||
// if this happens during setup:
|
||||
|
||||
throw new Exception ("Failed fetching upgrade packages:\r\n" + middleException.ToString() +
|
||||
"\r\n" + outerException.ToString());
|
||||
}
|
||||
Console.WriteLine(" FAILED! Aborting.");
|
||||
|
||||
return;
|
||||
|
||||
@@ -351,7 +351,7 @@
|
||||
<%=this.ModalMasterEditPerson.ClientID%>_open();
|
||||
|
||||
var personEditorData = {
|
||||
personId: personId
|
||||
personId: parseInt(personId) // parseInt to force passing integer over JSON
|
||||
};
|
||||
|
||||
_master_PersonEditLoading = false;
|
||||
|
||||
@@ -736,11 +736,11 @@ body.rtl .entryLabelsAdmin {
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
line-height: 30px;
|
||||
float:left;
|
||||
float:right;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user