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

@ -26,4 +26,5 @@ var mindplot = {};
mindplot.util = {};
mindplot.commands = {};
mindplot.layout = {};
mindplot.widget = {};
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 = [];