Changeset 3859df0 in osmose-frontend


Ignore:
Timestamp:
Mar 18, 2014 10:09:01 PM (6 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Branches:
master
Children:
a4dc40c
Parents:
b74357f
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (15/03/2014 22:30:29)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (18/03/2014 22:09:01)
Message:

Only one validate button in editor

Files:
2 edited

Legend:

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

    r029586d r3859df0  
    6767      self._$container.html(content); 
    6868      $("#validate", self._$container).click(function () { 
    69         self._validate(this); 
    70       }); 
    71       $("#corrected", self._$container).click(function () { 
    7269        self._validate(this); 
    7370        $.ajax({ 
  • views/map/editor.tpl

    ra6b90bb r3859df0  
    1818  <div id="buttons"> 
    1919    <input type="button" id="cancel" value="{{_("Cancel")}}"/> 
    20     <input type="button" id="corrected" value="{{_("Valid & Corrected")}}"/> 
    2120    <input type="button" id="validate" value="{{_("Valid")}}"/> 
    2221  </div> 
Note: See TracChangeset for help on using the changeset viewer.