Changeset 2e40364 in osmose-frontend


Ignore:
Timestamp:
Mar 18, 2014 10:08:58 PM (6 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Branches:
master
Children:
a870ebb
Parents:
7ff6a12
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (07/03/2014 17:01:01)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (18/03/2014 22:08:58)
Message:

Fix Editor on chrome

Location:
static/map
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • static/map/Osmose.Editor.css

    ra6b90bb r2e40364  
    4646  width: 90%; 
    4747  padding-left: 5px; 
     48  margin: 0px 
    4849} 
    4950 
     
    7576} 
    7677 
    77 #editor_save_form input { 
     78#editor_save_form input[type="text"] { 
    7879  width: 70% 
    7980} 
  • static/map/Osmose.Editor.js

    r4c01ef1 r2e40364  
    170170  _change: function (e) { 
    171171    var cur_value = e.target.value.trim(); 
    172     if (cur_value.indexOf("=") < 0 || cur_value.startsWith("=") || cur_value.endsWith("=")) { 
     172    if (cur_value.indexOf("=") < 0 || cur_value[0] == "=" || cur_value[cur_value.length - 1] == "=") { 
    173173      cur_value = ""; 
    174174    } else { 
Note: See TracChangeset for help on using the changeset viewer.