From 558b3024f20ed996e15f187f56a816e392fdf4a2 Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 21 Oct 2011 01:42:37 +0100 Subject: [PATCH] textboxes initial position issue --- edgware/static/js/editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edgware/static/js/editor.js b/edgware/static/js/editor.js index 9a555c4..17aeeb3 100644 --- a/edgware/static/js/editor.js +++ b/edgware/static/js/editor.js @@ -316,6 +316,8 @@ Canvas.prototype.init = function() { var elem = $(ui.draggable); var top = $(this).position().top; var left = $(this).position().left; + var height = 150; + var width = 150; if (elem.hasClass('arabic')) { var t = new TextBox(c, {'html': '

انقر على مربع التحرير

', 'css': { 'direction': 'rtl',