Fix drag.

This commit is contained in:
Paulo Veiga 2011-08-08 09:27:54 -03:00
parent e9ed01c87d
commit f76e068f7d
3 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ mindplot.DragTopic = new Class({
if (isDragConnected) { if (isDragConnected) {
var targetTopic = this.getConnectedToTopic(); var targetTopic = this.getConnectedToTopic();
if (targetTopic.getType() == mindplot.NodeModel.CENTRAL_TOPIC_TYPE) { if (targetTopic.getType() == mindplot.model.NodeModel.CENTRAL_TOPIC_TYPE) {
// Update topic position ... // Update topic position ...
var dragPivotPosition = dragPivot.getPosition(); var dragPivotPosition = dragPivot.getPosition();

View File

@ -26,4 +26,5 @@ var mindplot = {};
mindplot.util = {}; mindplot.util = {};
mindplot.commands = {}; mindplot.commands = {};
mindplot.layout = {}; mindplot.layout = {};
mindplot.widget = {}; mindplot.widget = {};
mindplot.model = {};

View File

@ -15,7 +15,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
mindplot.model = {};
mindplot.model.Mindmap = new Class({ mindplot.model.Mindmap = new Class({
initialize : function() { initialize : function() {
this._branches = []; this._branches = [];