Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

When I modify the codes on the page but the codes in the Source is not change?

Hello,

I have modified the codes but in source code it not changes. I also "Undo all source changes" it also doesn't work.

So what's the reason?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

When I modify the codes on the page but the codes in the Source is not change?

Hello!

Could you clarify what exactly have you modified?
This tutorial should help http://docs.appery.io/tutorials/sourc...

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

When I modify the codes on the page but the codes in the Source is not change?

Hello,
I have fellow the tutorial but it seems not work.

For example,when I add a new service and download the source code,however the new service is not in the source code.

The code that I have modified is that Commented the original code what is don't use(The code that is comment is :

if(Appery("SalesMobile").val()===""){
alert("required");
return false;
}
)

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

When I modify the codes on the page but the codes in the Source is not change?

Hi,

Take a look at this tutorial please: http://docs.appery.io/tutorials/sourc...[quote:]It’s important to remember that if you try to make any changes in the visual builder after you have edited the source, the changes won’t be seen."[/quote]Edited files are highlighted with blue color. Check if your files are edited.

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

When I modify the codes on the page but the codes in the Source is not change?

Hello,

I don't create any Custom files and all the source code is Automatically generated.

But now when I change the code that I wrote before the souce code don't change.
(I don't change anything in the source code Manual)

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

When I modify the codes on the page but the codes in the Source is not change?

Could you clarify please, aren't your source code changes applied?

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

When I modify the codes on the page but the codes in the Source is not change?

Yes, my source code are not change applied.

For example, When I write a service it should be added in the service.js ,Right?

But in fact the service is not in the service.js.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

When I modify the codes on the page but the codes in the Source is not change?

Hello,

Yes, if you right generic service and create JS asset for this service this JS asset should be available on all pages.

For example, we have "JavasScript1" in the Javascript assets. http://prntscr.com/3egluf/direct

When we open page source code we should see this file in script section. http://prntscr.com/3egm2k/direct

Also when you create any service this fact should be reflected in the "service.js" file.

Could you post app public link and steps how can we reproduce the problem?

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

When I modify the codes on the page but the codes in the Source is not change?

Hello,
I have modified the page like this Image
but the source code is outdated, it's still previous code which before I modified. Image
This situation is just happen in some pages, not all pages. And the new page is also fine.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

When I modify the codes on the page but the codes in the Source is not change?

Hi,

You have some files (MarketCM.html, MarketCoupon.html, marketing.html) which you have edited manually (outside Appery.io visual builder). These files are highlighted with blue color. For these files you can't use Appery.io visual builder, because your changes will not appear in these files.

Return to “Issues”