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) {
var targetTopic = this.getConnectedToTopic();
if (targetTopic.getType() == mindplot.NodeModel.CENTRAL_TOPIC_TYPE) {
if (targetTopic.getType() == mindplot.model.NodeModel.CENTRAL_TOPIC_TYPE) {
// Update topic position ...
var dragPivotPosition = dragPivot.getPosition();

View File

@ -27,3 +27,4 @@ mindplot.util = {};
mindplot.commands = {};
mindplot.layout = {};
mindplot.widget = {};
mindplot.model = {};

View File

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