<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
- <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
fireViewEvent: function() {
var me = this,
result;
-
+
me.lock();
result = me.view.fireEvent.apply(me.view, arguments);
me.unlock();
// The mouse is over a View node
onNodeOver: function(node, dragZone, e, data) {
var me = this;
-
+
if (!Ext.Array.contains(data.records, me.view.getRecord(node))) {
me.positionIndicator(node, data, e);
}
// Remove drop position indicator
notifyOut: function(node, dragZone, e, data) {
var me = this;
-
+
me.callParent(arguments);
delete me.overRecord;
delete me.currentPosition;
}
}
return performOperation;
+ },
+
+ destroy: function(){
+ Ext.destroy(this.indicator);
+ delete this.indicator;
+ this.callParent();
}
});
</pre>