Fix bug where IDs could not be changed. Moved cleanupElement into svgutils.js. Corrected MIME type of two new test files.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1990 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2011-02-10 04:10:03 +00:00
parent ca671f90d2
commit 45a26c1602
4 changed files with 51 additions and 48 deletions

View File

@@ -241,7 +241,7 @@ svgedit.units.convertToNum = function(attr, val) {
// Parameters:
// attr - String with the name of the attribute associated with the value
// val - String with the attribute value to check
svgedit.units.isValidUnit = function(attr, val) {
svgedit.units.isValidUnit = function(attr, val) {debugger;
var valid = false;
if(unit_attrs.indexOf(attr) >= 0) {
// True if it's just a number