This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function LoadDashBoard() | |
{ | |
$("#actdiv").hide('fast'); | |
var loadUrl = "ajax/load_agents.php"; | |
var ajax_load_bar = "<div align='center'><img src='images/loadingAnimation.gif' alt='loading...' /></div>"; | |
$("#actdiv").html(ajax_load_bar).load(loadUrl,function() { | |
alert('load was performed'); | |
}); | |
$("#actdiv").show(3000); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delegate void SetCtrlCallback(string val, property p, Control ctrl); | |
private void SetCtrl(string value, property p, Control ctrl) | |
{ | |
if (ctrl.InvokeRequired) | |
{ | |
SetCtrlCallbackd = new SetCtrlCallback(SetCtrl); | |
this.Invoke(d, new object[] { val,p,ctrl }); | |
} | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contentBinding: SC.Binding.single('Machines.devicesController.selection'), | |
prop: 10, | |
///* | |
contentDidChange: function() { | |
console.log("called first"); | |
var sum= sum+this.get('prop'); | |
console.log(sum); | |
var content = this.get('content'); | |
var devid = this.content.get('id'); |